Final answer:
The primer is the part of both a rifle and pistol cartridge and shotgun shell.
Step-by-step explanation:
The part of both a rifle and pistol cartridge and shotgun shell is the primer. The primer is a small metal cup containing a primary explosive that ignites when struck by the firing pin, creating a spark or flame to ignite the propellant charge.
Learn more about The primer in firearm cartridges and shotgun shells