Deus Ex Machina
A plot device where a seemingly unsolvable problem is suddenly resolved by an unexpected intervention—a new character, event, or revelation that hasn't been set up earlier in the story. The term literally means "god from the machine," referring to the crane (mechane) used in ancient Greek theatre to lower actors playing gods onto the stage to resolve the plot.











