None. They are nonliving organisms.
Photosynthesizers are organisms that use sunlight to convert carbon dioxide and water into sugars as a source of energy, releasing oxygen as a byproduct. Chemosynthesizers, on the other hand, use inorganic compounds such as hydrogen sulfide or methane to produce energy without the need for sunlight.
Earthworms, fungi, and most, but not all bacteria are detritivores. Bacteria can also be parasites, photosynthesizers, and chemosynthesizers.
The process by which an autotroph obtains energy from inorganic compounds instead of light is called chemosynthesis. In chemosynthesis, organisms use energy from chemical reactions to convert inorganic molecules into organic compounds, providing them with the energy needed for survival.