Primary production is the process by which autotrophic organisms, such as plants and algae, convert inorganic carbon (usually in the form of CO2) into organic compounds using energy from sunlight or chemical reactions. This process forms the base of the food web, supporting all other life forms by producing the organic matter that fuels ecosystems.