The outermost layer of Earth's atmosphere extends from the exobase upward. Here the particles are so far apart that they can travel hundreds of km without colliding with one another. Since the particles rarely collide, the atmosphere no longer behaves like a fluid. These free-moving particles follow ballistic trajectories and may migrate into and out of the magnetosphere or the solar wind. The exosphere is mainly composed of hydrogen and helium.