lavaan

In many cases an independent variable affects the outcome not only directly but also indirectly through another variable. We call the in-between variable a mediator.