Nutrients are required for microbial growth and act as building blocks and energy sources. The main nutrient requirements for microorganisms include carbon, nitrogen, phosphorus, sulfur, hydrogen, oxygen, potassium, calcium, magnesium, iron and trace elements. Microorganisms can be classified based on their carbon, energy and electron sources as photolithotrophs, photoorganoheterotrophs, chemolithoautotrophs, chemolithoheterotrophs or chemoorganoheterotrophs. Culture media are used to grow microorganisms and include defined, complex, liquid, solid, supportive, enriched, selective and differential media depending on their composition and purpose.