Leaves are essential for plants to produce food through photosynthesis. They take in water and carbon dioxide, using sunlight to make sugar. Water travels through pipes in the plant from the roots. Leaves also help protect plants by being poisonous, sharp, or tough. Roots hold the plant in the ground and take in water and nutrients, while stems transport water and minerals between the roots and leaves and also store food. Different plant structures like cactus stems and potato stems have adapted to help plants survive.