There’s plenty of things that don’t cost money that are still investments.
Any time you can say “it was worth it” or “it wasn’t worth it” would be considered an investment.
Like if you jumped on a couple grenades to help a friend out, it’d be worth the investment.