What is the meaning of Agoniser?

to be dying (slowly); to be at death's door

to be in one's death throes

Source: wiktionary.org