Warts are caused by the human papillomavirus and are not cancerous. However, some warts may look like cancer, so getting them checked by a doctor is vital to rule out the risk.