Mainly through the pads of their paws
Dogs have sweat glands in their paw pads, so damp paw prints on a cool floor are normal, not a sign of illness. It also explains the dewclaw, the nail higher up on the leg: it never touches the ground, so it never wears down on its own and needs trimming as its own job.