A code is way to convert one set of letters sounds or images into another via a medium of some sorts such as paper. Typically with military communication its common to have encryption and redundancies to stop any enemies from discovering how their military communicates internally.