One way bacteria are important to the Earth and its ecosystems is that