Background: Mediation analysis addresses the question of the mechanisms by which an exposure causes an outcome. This article is intended to convey basic knowledge of statistical mediation analysis.