Never heard of an inside cat

I have had cats all my life and I love them. Until a few years ago I had never heard of inside cat. Aren't they meant to go outside and be free. I don't get why you would keep a cat inside. They are meant to be outside