As puppies, this is not something that dogs would recognize, although they would feel you doing it.
However, as they get older they associate the kisses and cuddles with you being happy with them.
When you kiss your dog, you may notice that they jump up and try to lick you, which is your pooch's sign of affection.