The primary source of energy for all living organisms is the sun. Through the process of photosynthesis, plants and other photosynthetic organisms convert sunlight into chemical energy that is then used by all other living organisms in the food chain.