Plants are the main autotrophs in terrestrial ecosystems. Autotrophs are organisms that are able to produce essential macromolecules such as carbohydrates using raw materials and energy obtained from their environment, rather than relying on consuming other organisms to obtain these raw materials and energy.