What is GIF?
Thirty-five years old and still everywhere, because it does one thing nothing else quite does: animate inline, silently, in any context that displays an image. The cost is a 256-colour palette and no real motion compression, which makes GIF a poor way to store video and an excellent way to send a three-second loop.
What is PPM?
Uncompressed RGB behind a four-line text header - about as simple as an image format can be while still being one. Nobody ships PPM to users; it exists as the thing scripts and teaching code write when they'd rather not link an image library.