It mostly produces services rather than goods. As I’ve already pointed out, those services include:
Security
Healthcare
Law Enforcement
Engineering and Construction
Scientific and Industrial Research
To a smaller degree, it engages in retail and entertainment services, mostly directed towards service personnel. And you could argue that the construction bit produces goods, though that’s relatively small, too.
No, that isn’t what socialism is. Your definition is nothing more than a ridiculous boogeyman sold to you bunch a bunch of ignorant, dishonest right-wing pundits. Trying pulling something from a textbook next time instead of Sean Hannity’s blog.
And yet, that’s exactly what it does much of the time. At this point, the military exists to protect jobs more than it does to protect our security. Watch what happens when the DOD tries to cut a weapons program that isn’t needed or rearrange bases. Politicians crawl out of the woodwork to salvage any scraps they can for their districts, regardless of whether or not it’s actually needed. My hometown is still trying to cling to some DFAS offices and AFRL labs that don’t really need to be there anymore after BRAC shut down the main parts of the base in the 90’s.