Vomiting is the forceful expulsion of stomach contents through the mouth, often accompanied by nausea. It is a common symptom associated with various viral infections of the gastrointestinal tract, as it serves as a protective mechanism to expel harmful substances from the body.