The words "during" and "while" are two common English words, that have few similarities, and quite some wide differences. The two words both make reference to time; that is a particular time interval. Despite the fact that they both make reference to a time interval, they can never, in any way, be used interchangeably. In addition, considering their parts of speech, "While" in conjunction, while "during" is a preposition.
So, that should tell more about how they should be used. Mostly, you can use a noun after "during" in a sentence, while almost another meaningful sentence usually follows the word "while." Now, let's relate the explanations above in sentence examples: "You can take your tea while playing your game."
This is an acceptable statement. But if you want to use "during," as I said earlier, it must be followed by a noun. "You can take your tea during the game." This is also acceptable. Just read through again, and put them into practice. You will discover it is not difficult using these two words in sentences.