what does the second amendment protect?

A.it sets up the laws

B.it allows anyone to be president

C.ice cream for all

D.the right to legally have guns to protect urself if u want ​