Dogs walk on their toes and the nails help them balance and grip.
Their front claws retract and they walk more on the pads of their feet.
But they still need the claws for balance, climbing, grasping and other things.
As in dog declawing, the end of the toe is cut off to permanently remove the nail.