Photosynthesis captures sunlight energy. This energy is used to transform water and carbon dioxide into oxygen and glucose. It is completed within producers, or organisms that make their own food. That is because photosynthesis requires the use of chlorophyll, the green pigment contained within the chloroplast of a plant cell.
Cellular respiration uses the products of photosynthesis in order to make carbon dioxide, water, and energy (in the form of ATP). Cellular respiration is completed in any eukaryotic (cells that have a nucleus and organelles) cell- both plant and animal. Cellular respiration occurs in the mitochondria of a eukaryotic cell.
By examining the hyperlinked photos of the formulas for cellular respiration and photosynthesis, you will discover that the two formulas are simply inverses of one another. For this reason, consumers (organisms that cannot make their own food and must eat other things) and producers are dependent on one another.