Mediation analysis is a statistical method used to understand the mechanism or pathway through which an exposure affects an outcome. In the context of Epidemiology, it helps to identify and quantify the role of intermediate variables, known as mediators, that lie on the causal pathway between an exposure and an outcome.