Cats sleep on your head for a variety of reasons. They might enjoy the warmth and sense of security. You might be seen as their territory or a member of their group. They can do this simply because they love you and want to bond with you.