Subungual warts are viral growths that develop underneath or around the toenail or fingernail, caused by human papillomavirus infection. These warts can be painful, affect nail appearance, and are difficult to treat due to their location beneath the nail.