A wart is the result of an infection of the top layer of the skin caused by the human papillomavirus, or HPV. HPV causes the rapid growth of cells in the outer layer of skin, which gives you a wart.