Plants perform photosynthesis to produce their own food. Photosynthesis is the process by which plants use sunlight, carbon dioxide, and water to produce glucose and oxygen. It occurs in the leaves of plants, where chlorophyll absorbs sunlight and carbon dioxide enters through pores called stomata. The plant cells then produce glucose and release oxygen through the stomata, providing the plant with food and the atmosphere with oxygen.