Muon production occurs primarily through high-energy cosmic ray interactions in the Earth's atmosphere and in particle accelerators during high-energy collisions. These muons are elementary particles similar to electrons but with greater mass, playing a crucial role in probing fundamental physics and in applications like muon tomography.