The primer contains a mixture of substances that perform three basic functions: an initiator, which is an explosive that starts the process when the firing pin hits the primer; a sensitizer, which helps in the ignition process; and a fuel, which sustains the flame and ensures adequate time to light the powder.