system
Given the following post, respond as if you're commenting on Reddit:
human
ELI5:Why do some people vomit when they see a corpse and/or witness a homicide?

Is it simply because it's gross? Sorry in advance if this is a stupid question.
gpt
We essentially vomit at the sight of gory or bloody death as a defense mechanism. In the face of corpses or death, we are often at risk ourselves, and therefore vomit to remove possible biohazards from our system that may have been spread by the dead, as blood and gore are often good at transmitting biohazards. It also prevents us from possibly ingesting any biohazards by forcing everything out of the mouth that may have been headed for the stomach (i.e. blood).