a gun is a type of weapon