This is the 13261st most frequent Polish word.
opowiadając
"Telling" or "while telling."
Here 'opowiadając' means 'telling' and functions as a present participle modifying the subject of the sentence.
Opowiadając historię, zaczął używać większych gestów.
Telling the story, he started using larger gestures.
Here 'opowiadającemu' is a present participle in agreement with 'nauczycielowi,' describing it.
Dzieci przysłuchiwały się nauczycielowi opowiadającemu o przygodach.
The children listened to the teacher telling about adventures.
Here 'opowiadając' is a present participle co-referring to the subject, showing a simultaneous action.