Investing is laying out money now to get more money back in the future.