A dog may nibble your hand lightly for several reasons:
Desire attention and interaction: A dog may nibble your hand gently to get your attention and initiate interaction.
Eager to play: Your dog may think your hand is a toy, so he may gently bite your hand to play with you.
Myth: A dog may not realize that his mouth can cause harm, so he may bite your hand gently because he doesn't know it causes you pain.