Statistical mediation is a method used to understand the mechanism through which an independent variable influences a dependent variable via a third variable, known as the mediator. It helps in identifying and quantifying the indirect effects, offering insights into the causal pathways within a data set.