Diffusive shock acceleration is a mechanism elucidating the way cosmic rays gain energy within astrophysical settings, notably in the presence of shock waves. This process occurs when high-speed particles encounter shock fronts, experiencing repeated crossings and gaining energy through interactions with the shock’s motion. It involves the scattering of particles back and forth across the shock front, incrementally boosting their energy levels with each cycle. This phenomenon holds particular significance in the study of cosmic ray origins within astrophysics, especially in scenarios like supernova remnants where shock waves originate from the explosive deaths of massive stars. Diffusive shock acceleration is pivotal in comprehending the astrophysical dynamics that lead to the acceleration of high-energy cosmic rays, shedding light on the energy processes in extreme environments throughout the universe.