Roots hold plants in the ground and take in water and minerals from the soil. Stems hold up leaves, flowers, and fruit, and carry water, food, and minerals throughout the plant. Leaves use energy from the sun to make food, and take in carbon dioxide and release oxygen. The four main parts of a plant are roots, stems, leaves, and flowers.