Can't forget that military bases are communities where people live, too. Not just barracks and mess halls for individuals, but there are full neighborhoods and shopping centers for families.*
*My knowledge on this is limited, I just remember visiting a family member on base when I was younger.