Sheep can also bloat on grains; recommended treatments for both grain and frothy (pasture) bloat are not the same. You can buy a commercial bloat guard to keep on hand to administer orally to the sheep in an emergency.
ATP is remarkable for its ability to enter into many coupled reactions, both those to food to extract energy and with the reactions in other physiological processes to provide energy to them. In animal systems, the ATP can be synthesized in the process of glycolysis in which there is a net production of two ATP molecules in a cycle. This glycolysis is a major step in anaerobic respiration.
In plants, ATP is synthesized in the thylakoid membrane of the chloroplast. The process is called photophosphorylation. The machinery is similar to that in mitochondria except that light energy is used to pump protons across a membrane to produce a proton-motive force. ATP synthase then ensues exactly as in oxidative phosphorylation. Some of the ATP produced in the chloroplasts is consumed in the Calvin cycle, which produces triose sugars. ATP recycling