Like plant, animal and human ecology, the microbial ecology applies the generalecological principles to explain life functions of microorganisms in situ, i.e., directly in their natural environment rather than simulated under artificial laboratory conditions ex situ or in vitro.