Compounding helps you earn money on both your investment and the returns it earns.