The short answer is we have evolved to have nails because they help us pick things up (like food), pick things off (like bugs), and hold tightly onto things. Early humans who had these type of nails (instead of claws) tended to live long enough to have babies and pass on the fingernails gene to their kids.