People take photos for multiple reasons.
I like the memories. I enjoy looking through a photo album many years down the line and reminiscing about a great trip.
People take photos to brag.
People take photos to prove to non-believers that something happened.
People take photos to capture beauty.
People used to take photos and people continue to take photos. I suspect the reason has changed.