Just reporting what I've noticed from my own cats. There's an entire aspect of their personality that doesn't come out when they are restricted to indoors. I don't think it's possible to fully replicate what cats get from being outdoors, but a lot of people convince themselves it is.
Of course going outside is dangerous for cats. It's dangerous for people too but we still do it.