when (Adverb) — As soon as. ex. "when we are home, we can rest"
when (Adverb) — At what time?. ex. "When are you coming home?"
when (Adverb) — In what situation. ex. "close the door when you're finished"
when (Conjunction) — At the same time that. ex. "they were walking home when they were discussing the problem"
when (Conjunction) — Every time that. ex. "when I call you are always engaged"