Many people assume that cats lick them as a sign of love which isn't really that far off. While it's hard to determine if cats feel complex emotions like love, licking is a sign of affection. Cat's usually lick themselves in order to groom. Mother cats will lick their kittens as a part of the grooming process as well. However, cats will also lick each other as a sign of affection. Cat's actually lick humans for one of several reasons but most of them come down to displays of affection.
Signs of Affection
In the same way that you show affection to your cat by petting them your cat may attempt to return the favor by licking you. Kittens especially will use licking as a way ease anxiety the way a human might use hugs. If you feline friend loves to lick you it probably means they'd like some affection in return. Which honestly is one of the best parts of owning a cat!
Cats use pheromones to mark their territory. While most people know that cats mark property by urinating on things they can mark their territory in other ways as well. Licking and head rubs are ways for cats to claim you as part of their property...affectionately! When you cat licks or rubs against you, they are reaffirming that you are important to them and they want all the other cats to know. This is also why sometimes other cats may shy away from you, they smell that you belong to another cat.
Part of The Family
Many people joke that cats think they're humans and given the way some cats behave towards their owners, it's easy to see why. A great example is a cat who will leave dead mice or birds on their owners doorsteps in an attempt to share a tasty treat. Cats have also been known to present their owners with live animals which are the cats attempt to teach it's owner to hunt.
It's clear that not only do many cats see their owners as family they also see them as a bit inept at being cats. Female cats especially will exhibit this sort of parenting or nurturing type of behavior.
When cats lick you, it can mean that they are attempting to teach you to groom yourself. It's a memory your cat had from being licked by her own mother and is a real sign of affection. Cat's will also lick each other as a way to calm them down. Cats are very attentive to their owner's moods so you might find your cat is more affectionate when you're stressed or sick. They are attempting to calm your anxiety the same way you would pet your cat if they seemed nervous.
But It Hurts!
We all know that a through cat licking isn't always the most comfortable experience. This is because cat tongues have backward-facing hooks that are meant to pull and clean their fur the way a comb would. Remember to your cat a good licking feels good, they don't know their hurting you! When a cat licks you it's just trying to show some love.