MP3 is the format that taught music to travel: small, scrappy, and welcome absolutely everywhere. It was born in 1993, Fraunhofer Institute, Germany, and its real weak spot is holding fine detail at low bitrates: it stays small by quietly discarding sound.
OGG is the free spirit of audio: open, patent-free, and quietly brilliant at looping game sound. A container usually carrying Vorbis or Opus audio, both open and royalty-free. That makes it the right destination when what you need is games and open projects that want seamless loops and zero licensing strings.