Fact 1: the vomiting reflex is used to remove toxic material from the stomach before it is absorbed. 
Fact 2: Vomiting is a reflex controlled by a vomiting center in the brain.
the throwing up center of the brain is used to remove toxic material from the stomach before it is absorbed.