A code is a system of rules to convert information—such as a letter, word, or phrase—into another form or representation, often shortened or secret, for communication. Language itself is a code where sounds and symbols represent meanings. Morse code is another example where signals (dots and dashes) represent letters.