Cosmic rays, consisting predominantly of high-energy protons and nuclei originating from distant astrophysical sources, interact continuously with the solar wind and the heliospheric magnetic fields.