The process by which plants convert light energy, water, and carbon dioxide into sugars and oxygen. It occurs primarily in the leaves and is the foundation of all plant growth. Without adequate light for photosynthesis, a plant cannot produce enough energy to grow, flower, or fruit.