What is the psychology meaning of a baby sucking on his thumb?

I know probably half of the time babies do it bc they're hungry, but i heard there's some psychological reason behind it as well. Do they feel lonely or is there another reason?
5 answers 5