When you put in your money and when you take it out has an impact on your investment return.
If you put money in when markets are high, then you will be buying less for your money. If you take the money out when markets are low then you'll be losing out. That sounds simple, but the financial markets can be very volatile and difficult to predict.