Organisms need energy to survive. Some organisms are capable of absorbing energy from sunlight and using it to produce sugar and other organic compounds such as lipids and proteins. The sugars are then used to provide energy for the organism. This process, called photosynthesis, is used by plants and some protists, bacteria, and blue-green algae.