Just another ficticious character that parents invented because they believe that they are "Fun for kids." The Sandman is supposedly the person that wisks children away into dreamland by sprinkling sand on their eyes, explaining the children's eye-crust in the morning.
"Mommy, why is there this stuff in the corner of my eye when I wake up?"
"Ummm... Oh! The sandman puts it there sweety."