The “trolley problem” is a thought experiment in ethics that essentially asks what you’d do if you saw a runaway trolley heading toward five people tied up on the tracks but could divert the train so that it would kill only one person.

Here’s an illustration of the dilemma: