Early coal miners had no technological ways to detect poisonous gases (carbon monoxide). So miners would carry cannaries down into the mines knowing that the cannary would be uncomfortable (or dead) long before they were.