It's used as a reminder for writers of everything from novels and short stories to film and TV. The phrase originates from famous 20th century author and playwright Anton Chekhov, who said: “If in Act One you have a pistol hanging on the wall, then it must fire in the last act.”