<human>:  What are the laws on buying a gun?
<bot>: The laws on buying a gun vary by state. Generally, in most states, prospective gun buyers must be at least 18 years old and pass a background check. Other requirements may also apply, such as a safety training course. It is important to research your state and local laws to ensure you are in compliance with all regulations.