Why do plants require sunlight?

Plants require sunlight from the Sun to get their food through photosynthesis, the process of using sunlight to make food.