What is the meaning of Ordeal?

A trial in which the accused was subjected to a dangerous test (such as ducking in water), divine authority deciding the guilt of the accused.

A painful or trying experience.

The poisonous ordeal bean or Calabar bean.

Source: wiktionary.org