Warts are caused by a viral infection.