Autotrophs use the energy of either light (photoautotrophs) or (oxidation) of inorganic compounds (chemoautotrophs) to convert inorganic compounds (carbon dioxide and water) to organic compounds (glucose).