The way in which cosmic rays travel through space and interact with magnetic fields and interstellar gas.