Cosmic Rays for Particle and Astroparticle Physics