The military alphabet doesn't really have anything to do with codes. It gives everyone no matter where they are the ability to spell a word. Let's use my home town for an example. Milwaukee. Now have someone say from; wisconsin, Aalabaama, England, Germany, Russia, New Zealand, say that word over a radio with a little bit of static. Pretty hard to be understood. So instead you spell it, using an Alphabet that everyone knows.
Mike, India, Lima, Whiskey, Alpha, Uniform, Kilo, Echo, Echo
Of course you typically only do this for the important words in a msg or those that the receiving end ask you to repeat, but it works.