The function of primers for pistols is to ignite the propellant powder inside a given cartridge. To do this, the primer contains only a small amount of explosive held inside a metal primer cap. In case where you like a knockout post about pistol primers, check out this site.