Why Do We Have Grand Juries?

In Ferguson, Missouri and New York, grand jurors have refused to indict police officers who killed unarmed suspects, leading to protests across the country. The situation has left many wondering about the role of the grand jury in the criminal justice system : Why does it exist, and why is it necessary on top of regular jury trials?