Organisms, such as plants, in an ecosystem that generate their energy from inorganic material (biomass).