Producers, such as plants, algae, and some bacteria, absorb the Sun's energy directly to perform photosynthesis and create chemical energy. Consumers and decomposers cannot harvest solar energy directly and must feed on other organisms to obtain energy.