An autotroph ("self-feeding", from the Greek autos "self" and trophe "nourishing") or producer, is an organism that produces complex organic compounds (such as carbohydrates, fats, and proteins) from simple substances present in its surroundings, generally using energy from light (photosynthesis) or inorganic chemical reactions (chemosynthesis). They are the producers in a food chain, such as plants on land or contrast to heterotrophs as consumers of autotrophs). They do not need a living source of energy or organic carbon. Autotrophs can reduce carbon dioxide to make organic compounds for biosynthesis and also create a store of chemical energy. Most autotrophs use water as the reducing agent, but some can use other hydrogen compounds such as hydrogen sulfide. Some autotrophs, like green plants and algae, are phototrophs, meaning that they convert electromagnetic energy from sunlight into chemical energy in the form of .
Autotrophs can be photoautotrophs or chemoautotrophs. Phototrophs use light as an energy source, while chemotrophs utilize electron donors as a source of energy, whether from organic or inorganic sources; however in the case of autotrophs, these electron donors come from inorganic chemical sources. Such chemotrophs are lithotrophs. Lithotrophs use inorganic compounds, such as hydrogen sulfide, elemental sulfur, ammonium and ferrous iron, as reducing agents for biosynthesis and chemical energy storage. Photoautotrophs and lithoautotrophs use a portion of the ATP produced during photosynthesis or the oxidation of inorganic compounds to reduce NADP+ to NADPH to form organic compounds.