Plants have different parts that each serve important functions. Leaves capture sunlight to produce food through photosynthesis. Flowers produce seeds and add beauty; many flowers also develop into fruits. Fruits contain seeds and are sometimes eaten. Seeds can grow into new plants. Stems provide support and transport water and nutrients. Roots absorb water and nutrients from the soil or water.