An example of this is that in the United States federal law allows buying rifles and/or shotguns at age 18—if purchased from a licensed firearms dealer. But a person must be age 21 or older to purchase a handgun—from a licensed firearms dealer. However, if purchased from an unlicensed person, with few exceptions, a handgun may not be sold to anyone under age 18. There is no age restriction on who may buy a rifle or shotgun from an unlicensed person. In the United States and other countries, people can buy guns for self-defense, hunting, and shooting sports like target shooting. 