Chlorophyll is the pigment that gives plants their green color and is essential for photosynthesis. Photosynthesis is the process by which plants convert sunlight into energy, using carbon dioxide and water.
While some bacteria also have chlorophyll, they are not considered plants or algae.