Where to use During?
“During” comes before a noun. It relates to a short action, not telling about the extent of time , since the incident is happening. (During+noun)
Everyone was carefully listening during the presentation
The weather turns quite pleasant during winters
Where to use While
“WHILE” is used before a subject and verb (While+subject+verb)
The door bell rang, while I was trimming my nails
I met him while he was busy preparing the notes