ATP is produced in the cell in two ways:
1. Substrate-Level Phosphorylation
2. Chemiosmosis
Substrate-Level Phosphorylation (SLP) involves the transfer of phosphate from a high energy molecule to ADP, with the aid of an enzyme.
Chemiosmosis requires a phospholipid bilayer, a proton pump, protons and ATPase.
ATPase has a channel that allows for the facilitated diffusion of protons back in through the membrane. This activates ATPase, which in turn catalyzes the formation of ATP.