Flexi Says: Cellular respiration uses glucose and oxygen to make carbon dioxide, water, and ATP. The molecule ATP is used for energy to run cellular processes. Carbon dioxide is released to the atmosphere where it is used in photosynthesis by plants. The process of photosynthesis uses ATP for energy to build glucose. During photosynthesis, water is broken down to form hydrogen ions and oxygen gas is given off as waste. The released oxygen is used by all living organisms that carry out respiration.