The outer protein protective shell of a virus, which protects the viral nucleic acid. Capsids are composed of repeating units (capsomers or capsomeres) of CAPSID PROTEINS which when assembled together form either an icosahedral or helical shape.