@MarianneVos rereading my own post, it sounds in some ways crass to refer to property as "an investment" without qualifying that.
A residential property is of course, first and foremost, a home for a person or family to live in.
However, I think it is worth also thinking about any thing that costs a lot of money, where one is hoping to get the money back some day, as being an investment, and therefore considering the risk of losing money against the after-tax return, including value in use, that one hopes to gain over time while owning that thing. In practice, except for pieces of art bought by really rich people, about the only tangible thing for which it is realistic to expect the money back (or more) is a property.
Money is something that you trade away your life energy to get, and that you then trade away in turn for the goods and services you need in order to live, and hopefully also to enable experiences that you want to have.
Thinking about property as also being an investment can then help one to take decisions that ultimately enable one to "trade away" less life energy for money, or to have more of the experiences one wants to have.