Plants harness sunlight, water, and carbon dioxide to synthesize food in a process called photosynthesis. Tiny openings in their leaves, known as stomata, enable them to absorb carbon dioxide and release oxygen. Chloroplasts containing the green pigment chlorophyll capture sunlight and convert it into sugar, underscoring plants' role as the lungs of the world.