AR-15 or Mossberg 500 - what is the best for self-defence?

I've checked the guide (https://gearhunts.com/ar10-vs-ar15/) and see that the AR-15 is perfect for self-defence. But Mossberg 500 is also a legendary shotgun for the same goals. So what is the best?
15 answers 15