"She was awarded with a medal and a trophy, giving her the rights to brag."
Often when I use Microsoft word, I get a squiggly line if I wrote sentence structures like the example given. The program recommended that I added 'and' before 'giving' which did not sound right to me. I've seen similar structures when reading novels and I wonder if this kind of structure has some grammatical restrictions?