Torture is action that causes physical or mental pain.
Greg thought that writing the essay was torture.
Example picture