OGG is the free spirit of audio: open, patent-free, and quietly brilliant at looping game sound. It was born in 2002, the Xiph.Org Foundation, and its real weak spot is everyday device support: car stereos and Apple hardware mostly shrug.
AVI is the veteran of desktop video: dependable in 1995, cranky about everything invented since. Audio Video Interleave: an early container that predates streaming and most codecs you'd use today. That makes it the right destination when what you need is opening old archives and humoring legacy Windows tools.