If you invest in shares in a company, you are a link in the chain to that company existing at all, employing people, serving customers, and paying a dividend to shareholders. Employees have a job and income without the need to come up with the initial capital to start the venture and the associated risk of no income for a while.
If you invest in real estate, you are providing the capital that allows someone to have shelter (and maybe allowing a property management firm to also employ people). Tenants have shelter without the need to buy an entire lifetime of a house that they only want to live in for a few years and without the hassles of being tied down to a specific address (in the event their relationship status or family size evolves or a job improvement arrives 50 or 200 miles away) or buying and selling houses frequently as these changes tend to happen frequently early in adult life.
Neither is something that you had to wipe sweat off your brow this particular month, but it is a deployment of foregone consumption in the past that allowed you to make those investments. Now that previously foregone consumption is being returned to you.