It’s natural behavior for puppies to bite. As they begin to teethe, they naturally need things to chew on. Also, dogs generally prefer to use their mouths over their paws for manipulating objects, and this behavior begins in puppyhood as young pooches start to explore their world.

Source:  https://www.cesarsway.com/dog-behavior/biting/nipping-nipping-in-the-bud