It's an old nursery rhyme ..

What are little boys and girls made of

sugar and spice etc is the girls and

snips and snails
and puppy dog tails

that's what little boys are made of.

Don't ask me where it stems from, though, 'cos I've no idea!