Hi Luciana and welcome.
Among the types of a misplaced modifiers is a dangling modifier. It is called misplaced because of there nothing for it to modify in reality. It just stays idle doing nothing because the words or word the dangling modifier should be modifying is not present in the sentence. Thus, a dangling modifier can make the meaning of a sentence unclear.
Incorrect: “Reading the rules, the dog did not enter the park."
“Reading the rules” is a dangling modifier.
The dog cannot read the rules; the word(s) that "reading the rules" modifies were not stated.
Correct: After reading the rules, I didn’t enter the park with my dog.