There’s also a safety on some guns, which I personally hate, that allows you to pull the trigger, but the safety disconnects the mechanism from the pin, or blocks the pin from going forward.
Personally I’d rather they just not allow a trigger pull at all. It’s especially freaky when you get one that still moves the hammer.