ATP refers to an essential spice of energy to carry out all biological processes.
Plants produce ATP in two ways: in chloroplast and mitochondria.
Cellular respiration is a process of breakdown of glucose into oxygen and water both in aerobic and anaerobic conditions.
It takes place in the mitochondria.
There are three stages in cellular respiration: glycolysis, the Krebs cycle, and oxidative phosphorylation.
In glycolysis, glucose undergoes a series of chemical reactions and in the pathway it produces ATP.
In the citric acid cycle, when acetyl CoA undergoes another series of chemical reactions then it produces ATP as a byproduct.
In the light reaction of photosynthesis, when the light is absorbed in photosystem II the high-energy electron travels down an electron transport chain and releases energy.
Some of the released energy regulates the pumping of ions from the stroma into the thylakoid membrane of the chloroplast.
It builds a gradient force and the ions pass through the enzyme called ATP synthase.