Correct use of when and while when used as conjunctions?
I hope the explanation on this web site will help you:-

They are interchangeabe when both used to refer to something that happens at the same time or during the time that something is happening.

Her parents died when/while she was still at school.

' While ' can be used to contrast two things.

He is very hardworking while his brother is very lazyEmotion: smile
Students: We have free audio pronunciation exercises.
i didn't understand Emotion: sadEmotion: sad
 LouiseT's reply was promoted to an answer.
When and while can be confusing. Many have this illusion that when and while are substitutes of each other. Although there are contexts at times that these two words seemed to offer relatively the same meaning. But that is not the absolute truth. Consider this:

When I arrived Jane's house to pick her up, she wasn't even dressed. In this sentence, "when"can not be substituted with "while"..

John's dead died when he was 6 years old.

Julie called you when / while you were in the shower. This is ok.
Students: Are you brave enough to let our tutors analyse your pronunciation?