Viral pharyngitis is an inflammation of the pharynx (the part of the throat between the tonsils and the larynx) caused by a virus. It produces a sore throat.