Answer:
Fear (from a quick Google search): "An unpleasant feeling triggered by the perception of danger, real or imagined."
Simply put, fear keeps us safe (or at least tries to). It helps keep us on the lookout for things that could be of harm to us.