The genesis used two sound chips- the YM2612 and the SN76489. With storage capabilities of these early game consoles, these chips allowed for the live playing of midi sounds instead of storing a prerecorded track.
I do remember the music feeling a lot more developed on Sega over the Nintendo console, and now I know why. They had a lot of interesting innovations that kept Sega different enough from Nintendo that made them stand out.