Most autotrophs make food by photosynthesis, but this isn’t the only way that autotrophs produce food. Some bacteria make food by another process, which uses chemical energy instead of light energy. This process is called chemosynthesis.
CK-12 (High School)
How does chemosynthesis support life in extreme conditions?