I think I'm on the cusp of the generations in that respect. Sometimes I'll take a photo because I want to keep a nice picture of something, but I'm just as likely to take one as a form of communication - the "
look at this interesting thing I saw" use case.
(There's also a technological aspect. Digital photography has made photography a practical way to document things where in the film era it simply wasn't. I might use a camera to record positions or settings of things where historically you'd have made measurements or sketches, or even as a substitute for a magnifier or mirror.)
Some of my photos get filed in a photo gallery. Some get filed in a filesystem along with documents, code, schematics or whatever for a particular project. Some get emailed to someone or uploaded to Twitter to illustrate a particular point and are forgotten. Most are unwanted duplicates or for temporary reference, and kick around until I have a clear-out then get deleted.
I'm old and wise enough not to trust anything important to a single storage device. Especially one that's easily stolen/dropped.