A law that prohibits the sale, possession, or use of certain types of firearms, typically semi-automatic rifles and pistols with detachable magazines.