A revolver is one kind of pistol.