Buying something to rent it out is clearly investing.
Buying something to fix it and re-sell it is usually also seen as investing.
Buying something to use it (live in it) could also be an investment but usually isn't seen as such because it's assumed that you only live in one place.