Farts contain sulfurous chemicals, which smell kind of eggy.
Burps have halides, which you find in onions and garlic.
Mice actually use halides to communicate to each other.
Mouse A will smell Mouse B’s breath and it will be a mixture of halides and whatever mouse B has just eaten.
That way Mouse A will know that it’s probably safe to eat whatever Mouse B just ate.