Cosmic rays are not actually rays but particles that are moving very fast . The cosmic rays that arise in extrasolar astrophysical sources are primary cosmic rays ; these primary cosmic rays can interact with interstellar matter to create secondary cosmic rays . The Sun also emits low energy cosmic rays associated with solar flares .