The way a virus is able to infect it's host is by inserting it's Genetic material.
The viral genetic material is protected by a protein coat also called a capsid.