When you invest money you buy "units" in the fund. The price of these units exactly tracks the performance of the underlying shares and bonds that the fund is invested in.
When you want to cash in your investment you sell the units. If the underlying investments of the fund have performed well then the price you sell the units for will be higher than the price you bought them for.