Plants produce their own food through the process of photosynthesis. During photosynthesis, chlorophyll in plant leaves uses carbon dioxide and water along with sunlight to produce glucose and oxygen. The glucose is used by the plant for energy, growth, and storage while oxygen is released as a byproduct. Roots take in water and minerals from the soil which are used in photosynthesis while leaves are adapted with features like being broad and flat to maximize sunlight absorption and containing chloroplasts and chlorophyll.