What is AVIF?
AVIF is a still image squeezed with the AV1 video codec, and it compresses harder than anything else in wide use - frequently half the size of a JPEG that looks the same. It handles transparency and high dynamic range. Support is good in browsers and patchy everywhere else, which is usually why people convert out of it.
What is BMP?
BMP is the Windows bitmap: pixel values written out with essentially no compression, which makes the files enormous and the format trivial to read. It survives in Windows tooling, embedded systems and anywhere a program wants image data without a decoder in front of it. Rows are stored bottom-up.