The 2nd Amendment’s sole purpose is to provide effective means to oppose tyranny; it is not to protect target shooters, it is not to protect hunters, it is not to protect gun collections, it is not even to provide for self defense.
The 2nd Amendment exists to limit the power of the Federal Government, and to preserve the rights of individuals.
More the latter than the former. The constitution (as a whole) was supposed to limit the power of the feds. Giving individuals the power of violence is an essential quality of "free state," and "free state" is what the 2nd amendment is designed to preserve.