3. Marking the territory:
Dogs pee with great preference wherever one of their conspecifics has already peed. That is only partially nice, but it is simply part of it. But dogs also like to lick their “property” and thereby mark it. This primarily applies to puppies or toys, but it can also be the reason your dog is licking you with their tongue.