Significance of moderating variables

Mediating Variables

COLLAPSE

What is the significance of mediating and moderating variables? I am having a lot of trouble with these (and stats in general), but I don’t understand why we would need to know these. What difference do they make?