Biostimulation works by optimizing environmental conditions to favor the activity of specific microbial communities. This can be achieved through the addition of nutrients like nitrogen, phosphorus, and carbon sources. Sometimes, oxygen or alternative electron acceptors are also introduced to enhance the metabolic pathways of the microorganisms involved.