It was the old phonetic code for the letter R
In early aviation radio, "Roger" stood for the letter **R** in the phonetic alphabet, which was shorthand for "received" or "understood." The modern phonetic alphabet uses "Romeo" for R, but "roger" stuck as aviation tradition.