When a gun is fired, a plume of gas—including GSR particles—is ejected from the barrel and any other openings in the gun. The gunshot residue is deposited on objects that are close to the fired gun including the gun itself.