It is a children's nursery rhyme that is meant to soothe the listener and stop them from crying. It is also meant, as all nursery rhymes are, to entertain. The song is written with the intention of finding ways to stop a baby from crying or make it happy. But, the subject matter is actually geared towards things that are going to make adults happy.