Microbial ecology explores how microbes interact with each other and their environment. This topic covers symbiotic relationships, biofilms, quorum sensing, and the human microbiome, all of which connect directly to how bacteria cause infections and develop antibiotic resistance. These interactions show how organisms too small to see can shape entire ecosystems and determine human health outcomes.
Microbial Interactions

Symbiotic Relationships
Symbiosis refers to a close, long-term interaction between two different species. There are three main types, and the distinction comes down to who benefits and who gets harmed:
- Mutualism: Both species benefit. E. coli in your gut gets a warm, nutrient-rich environment, and in return it produces vitamin K that your body needs.
- Commensalism: One species benefits while the other is unaffected. Many skin bacteria feed on dead cells and oils without causing you any harm.
- Parasitism: One species benefits at the expense of the other. A parasitic bacterium like Mycobacterium tuberculosis reproduces inside your cells while damaging lung tissue.
Biofilms
A biofilm is a structured community of microorganisms that attach to a surface and to each other, held together by a sticky extracellular matrix (often called "slime"). Dental plaque is a classic example.
Biofilms matter because they make bacteria dramatically harder to kill. The matrix acts as a physical shield that blocks antibiotics from reaching the cells inside and protects bacteria from immune cells. This is why biofilms that form on medical devices like catheters and joint implants can cause persistent, hard-to-treat infections. Bacteria within a biofilm can be up to 1,000 times more resistant to antibiotics than the same bacteria floating freely.
Quorum Sensing
Quorum sensing is the mechanism bacteria use to "communicate" based on population density. Here's how it works:
- Individual bacteria secrete small signaling molecules called autoinducers into their environment.
- As the bacterial population grows, autoinducers accumulate in higher concentrations.
- Once autoinducer concentration hits a threshold, it triggers changes in gene expression across the population.
- The bacteria then coordinate behaviors collectively, such as forming biofilms, producing toxins, or emitting light.
A well-known example is bioluminescence in Vibrio fischeri. These bacteria live inside the light organs of certain squid. At low density, they don't glow. Once enough bacteria are present and autoinducer levels are high enough, they all switch on light-producing genes simultaneously. This coordination only makes sense when there are enough bacteria to produce visible light.

Opportunistic Infections
Not all infections come from "foreign invaders." Opportunistic infections occur when microbes that are normally harmless members of your body's flora cause disease because the host's defenses are weakened. This can happen after immune suppression (from chemotherapy, HIV, or organ transplant drugs) or when antibiotics wipe out competing bacteria and allow one species to overgrow.
Key examples:
- Pseudomonas aeruginosa: Commonly found in soil and water, it rarely harms healthy people but causes serious pneumonia in cystic fibrosis patients whose lungs provide a favorable environment.
- Candida albicans: A fungus that lives on skin and mucous membranes. It causes thrush (oral yeast infection) in infants and immunocompromised individuals when normal bacterial competitors are reduced.
Human Microbiome
Microbiota and Health
The human microbiome refers to the collective genomes of all microorganisms living in and on the human body, including bacteria, archaea, fungi, and viruses. Your body harbors roughly as many microbial cells as human cells, with the vast majority residing in the gut.
The gut microbiota (intestinal flora) performs several critical functions:
- Digestion: Breaks down complex carbohydrates like dietary fiber that human enzymes can't process. The dominant phyla Bacteroidetes and Firmicutes are especially important here.
- Vitamin synthesis: Gut bacteria produce vitamins B12 and K, which your body absorbs and uses.
- Immune development: Exposure to gut microbes during early life trains the immune system to distinguish harmful pathogens from harmless organisms.
- Colonization resistance: A healthy, diverse microbiota occupies niches and resources, making it harder for incoming pathogens to establish themselves.
Probiotics are live microorganisms (commonly Lactobacillus and Bifidobacterium species) that provide health benefits when consumed in adequate amounts. They can help restore gut microbiota balance after antibiotic treatment and may reduce symptoms of conditions like inflammatory bowel disease. Probiotics work partly by competing with harmful bacteria for space and nutrients.

Microbiota Dysbiosis
Dysbiosis is a disruption in the normal composition and diversity of the microbiota. Several factors can trigger it:
- Broad-spectrum antibiotic use (kills beneficial bacteria along with pathogens)
- Major dietary changes (especially low-fiber, high-sugar diets)
- Chronic stress and illness
Dysbiosis has been linked to a growing list of health conditions, including obesity, type 2 diabetes, allergies, and autoimmune disorders. For instance, researchers have observed that individuals with these conditions often have reduced levels of beneficial species like Akkermansia muciniphila, a bacterium that helps maintain the gut's protective mucus layer. The relationship between dysbiosis and disease is an active area of research, and in many cases it's not yet clear whether dysbiosis is a cause or a consequence of the condition.
Microbial Pathogenesis
Pathogenic Mechanisms
Pathogens are microorganisms that cause disease. They do this through a general sequence:
- Entry: The pathogen enters the body through a route of transmission such as inhalation, ingestion, a wound, or contact with mucous membranes.
- Adhesion: Surface proteins (adhesins) allow the pathogen to attach to specific host cells. Streptococcus pyogenes, which causes strep throat, uses adhesins to bind to throat epithelial cells.
- Invasion and multiplication: The pathogen penetrates tissues and reproduces, often using host cell resources.
- Damage: Pathogens cause harm through toxin production, direct cell destruction, or triggering excessive immune responses.
Virulence factors are the specific tools pathogens use to cause disease. Staphylococcus aureus, for example, produces enzymes that break down host tissues, toxins that destroy white blood cells, and a protein coat that helps it evade the immune system. The more virulence factors a pathogen has, the more dangerous it tends to be.
Antibiotic Resistance
Antibiotics are substances that kill bacteria or inhibit their growth by targeting processes unique to bacterial cells:
- Penicillin disrupts cell wall synthesis (human cells lack cell walls, so they're unaffected).
- Tetracycline blocks bacterial ribosomes from making proteins.
- Fluoroquinolones interfere with bacterial DNA replication.
Antibiotic resistance occurs when bacteria evolve mechanisms to survive antibiotic exposure. Resistance can develop in two main ways:
- Mutation: Random DNA mutations may alter the antibiotic's target site or enable the bacterium to pump the drug out of the cell.
- Horizontal gene transfer: Bacteria can acquire resistance genes from other bacteria through conjugation, transformation, or transduction, spreading resistance even between different species.
Why resistance is accelerating: Misuse of antibiotics (not finishing a prescribed course, using them for viral infections, widespread agricultural use) selectively kills susceptible bacteria while allowing resistant strains to survive and reproduce. Over time, resistant populations dominate. MRSA (methicillin-resistant Staphylococcus aureus) is one of the most well-known examples, causing skin infections and potentially life-threatening bloodstream infections that are resistant to many standard antibiotics.