Sunlight is the main source of energy on Earth, which makes it an extremely important abiotic factor. Sunlight is necessary for photosynthesis, the process by which plants convert carbon dioxide (CO2) and water to oxygen (O2) and sugar – food for the plants that later becomes food for animals.