Living things need energy from food to survive. Plants are able to produce their own food through photosynthesis, which uses energy from sunlight, carbon dioxide from the air, and water to produce oxygen and sugars. The sugar glucose can then be stored and used as a source of energy in a cell in the form of ATP molecules, which store and release energy through the addition and removal of phosphate groups.