, and sometimes from organic matter such as plants or other animals. Many producers, such as plants, obtain energy through photosynthesis using sunlight. Others, such as some bacteria and fungi, may obtain energy through chemosynthesis using chemicals in their environment.