It is a word and sometimes a phrase which explains or modify or clarifies a word not clearly mentioned in a sentence... like after doing the homework,match was resumed... doing is action and there is no subject of main clause,,here doer is not clearly stated ..so the phrase is dangling modifier..
Sentence 1: People know that taking tests is hard, but they will get better grades by studying.
Sentence 2:
I learned this lesson when my friend and I studied all afternoon, then aced our final exam in biology.
Sentence 3:
I suggest that if someone wants to do well, one should try studying, too.
Sentence 4: In my opinion, scoring well on it is all about how I prepare.