Help me understand MDS vs DOM

I'm sure this is covered in a video or possibly even Deal School but haven't worked my way through all of it yet. So can someone help me understand the difference between Days on Market vs Market Day Supply. For example, one vehicle I'm looking at shows a MDS of 30 days but average days on market from the CarEdge Reports is 123 days. Those are two very different values and I'm struggling to understand how it helps/hurts me.