Found a good image explanation of this whole thing.