To invest means to use money in a way that will bring a profit later.
I invested money in a new building that should bring me a profit.
Example picture