If you've ever wondered why children whine, here's the answer: it's one of the tools a child uses to get what he or she wants.