(do something) while (clause)
Use "while" to join two things that happen at the same time. The first thing can be a continuing action or a momentary action, but the second thing has to be continuing:
She did her homework while I made dinner. ("did her homework" is continuing)
He fell asleep while he was driving, and ended up in the hospital. ("fell asleep" is momentary)
Follow PhraseMix