Photosynthetic organisms, known as photoautotrophs, capture the energy from sunlight and use it to produce organic compounds through the process of photosynthesis. In photosynthesis, the inorganic compounds of carbon dioxide, water, and sunlight are used by photoautotrophs to produce glucose, oxygen, and water.