MacGuffin
In fiction, a MacGuffin (sometimes McGuffin) is an object, device, or event that is necessary to the plot and the motivation of the characters, but insignificant, unimportant, or irrelevant in itself. Thus, the use of a MacGuffin in a narrative is a plot device.