It's not something specific to humans -- it's a really ancient behavior which really helps us regulate how we feel and makes us feel better.
See ei ole inimestele ainuomane. Tegu on iidse käitumismalliga, et emotsioonide abil parandada meeleolu ja enesetunnet.