Explanation: Harry's first look into the Mirror of Erised is even sadder than you thought. ... The Mirror of Erised shows whomever looks into it their deepest desire. When Harry gazes into the mirror, he sees his parents surrounding him.
the mirror was for people to see what they wanted most and he wanted his parents the most so therefore he looked in the mirror and saw his family(his mother and father)