Prokaryotes are metabolically diverse organisms. There are many different environments on Earth with various energy and carbon sources, and variable conditions. Prokaryotes have been able to live in every environment by using whatever energy and carbon sources are available. Prokaryotes fill many niches on Earth, including being involved in nutrient cycles such as nitrogen and carbon cycles, decomposing dead organisms, and thriving inside living organisms, including humans. The very broad range of environments that prokaryotes occupy is possible because they have diverse metabolic processes.