Etymology
Today it means: Said to someone before they fall asleep, wishing them a good sleep. Full definition →
From sweet and dream.
Etymology from Wiktionary, CC BY-SA 4.0.