This explains it as well if mine didn't make sense. Ignore the part about the offsides pass because that rule was taken out a few years ago.

Offside (ice hockey) - Wikipedia, the free encyclopedia