A misplaced modifier is a word, phrase, or clause whose position makes it seem to describe the wrong part of a sentence. In Nora handed snacks to the hikers in paper bags, the final phrase can sound as though it describes the hikers.

How to recognize it
Find the describing word or phrase and ask what it seems to attach to. Compare that with the intended meaning.
Examples explained
Move the modifier closer
If the snacks were in the bags, write Nora handed the hikers snacks in paper bags. Placing the prepositional phrase beside snacks makes the connection clearer. You can also rephrase the detail as bagged snacks.
Watch small words such as only
Only Mara packed the lantern means no one else packed it. Mara packed only the lantern means she packed nothing else. Put only near the part you want it to limit. When the word a modifier needs is missing or the sentence gives it no suitable grammatical connection, see dangling modifiers.
Common mix-up
A misplaced modifier points toward the wrong element; a dangling modifier lacks a suitable grammatical connection.
Quick check
How does meaning change between “Only Mara packed the lantern” and “Mara packed only the lantern”?
Reveal the answer and explanation
The first limits who packed it; the second limits what Mara packed. Position changes the scope of only.