Etymology
Today it means: A term of affection for someone Full definition →
From sweet + cakes.
Etymology from Wiktionary, CC BY-SA 4.0.