The energy is generally not needed immediately, so it is used to combine ADP with phosphate ions to form ATP molecules. During the process of cellular respiration, carbon dioxide is given off as a waste product. This carbon dioxide can be used by photosynthesizing cells to form new carbohydrates.