Causal mediation analysis is a statistical approach used to understand the mechanism through which a causal effect operates by decomposing the total effect into direct and indirect effects. It helps in identifying and quantifying the pathways that link an independent variable to a dependent variable through one or more mediators.