Asked by: Nicola Bain, Glasgow
Vomiting is a deliberate response by the body that evolved as a purging mechanism to remove toxins or foreign bodies from the stomach and oesophagus. Since stomach contents are highly acidic, vomiting can be quite harmful for the throat, mouth and teeth and salivating helps to reduce this by diluting and rinsing.
Saliva is also weakly alkaline, which helps to neutralise acid.
Subscribe to BBC Focus magazine for fascinating new Q&As every month and follow @sciencefocusQA on Twitter for your daily dose of fun science facts.