We get all of our energy from the sun. Using green plants, plants use sunlight to make sugar out of carbon dioxide and water. Animals eat plants and bacteria and then take the nutrients made available by digestion back to their cells, where they are used again. Energy is released during metabolism.