Well, bacteria is a decomposer
which means it will Break down dead organisms to its lowest component so it could be easier to recycled
not only that, it also convert atmospheric nitrogen so it could be used to maintain soil's fertility
hope this helps