What is the meaning of Ordeal?

A painful or trying experience.

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.

The poisonous ordeal bean or Calabar bean

Source: wiktionary.org