The origin and propagation of cosmic rays is one of the most important questions in astroparticle physics nowadays. To perform Indirect searches of Dark Matter searching for their products in the local cosmic ray spectra, we first need to comprehend what is the background coming from astrophysical sources. We can only model this background by achieving a deep understanding of cosmic ray propagation. Although the transport of these cosmic rays through the galaxy make them lose the information about their origin due to interstellar magnetic fields, we can directly study the properties of their propagation using gamma rays. In this talk, I will give a review of current measurements of magnetic fields and cosmic ray propagation parameters using gamma rays.