In mesoscopic physics, ballistic conduction (ballistic transport) is the unimpeded flow (or transport) of charge carriers (usually electrons), or energy-carrying particles, over relatively long distances in a material. In general, the resistivity of a material exists because an electron, while moving inside a medium, is scattered by impurities, defects, thermal fluctuations of ions in a crystalline solid, or, generally, by any freely-moving atom/molecule composing a gas or liquid. Without scattering, electrons simply obey Newton's second law of motion at non-relativistic speeds.
The mean free path of a particle can be described as the average length that the particle can travel freely, i.e., before a collision, which could change its momentum. The mean free path can be increased by reducing the number of impurities in a crystal or by lowering its temperature. Ballistic transport is observed when the mean free path of the particle is (much) longer than the dimension of the medium through which the particle travels. The particle alters its motion only upon collision with the walls. In the case of a wire suspended in air/vacuum the surface of the wire plays the role of the box reflecting the electrons and preventing them from exiting toward the empty space/open air. This is because there is an energy to be paid to extract the electron from the medium (work function).