The document provides examples to illustrate the difference between using "when" and "while" to describe the order of two actions. It explains that "while" indicates the second action occurred during the first action, whereas "when" means the second action occurred after the first action. The document then gives sentence examples and asks the reader to change sentences containing "while" to use "when" instead and vice versa.