Life on Earth, which emerged before 3.7 billion years ago,[10] is immensely diverse. Biologists have sought to study and classify the various forms of life, from prokaryotic organisms such as archaea and bacteria to eukaryotic organisms such as protists, fungi, plants, and animals. These various living organisms contribute to the biodiversity of an ecosystem, where they play specialized roles in the exchange of energy and nutrients.