Basically, when you invest your money, it hopefully earns returns, and then the returns you've earned can also earn returns of their own. This can also go the other way during down markets, but over the long term, markets have historically trended upward. Here's a more in-depth explanation of how compounding works.