Why is sunlight important to producers?

In ecology, producers are generally plants. Plants require sunlight for photosynthesis. Photosynthesis allows the plant to produce its own food and therefore grow. Sunlight is key in many ecosystems.