“More than 100 trillion symbiotic microorganisms live on and within human beings and play an important role in human health and disease. The human microbiota, especially the gut microbiota, has even been considered to be an “essential organ”. There is this interesting review that perfectly answers the question:
Although many types of bacteria are detrimental to other organisms, many types are essential for life on Earth, including for humans. Examples include nitrogen fixing Azotobacter and the different types in our intestine.