A code is a set of symbols used to hide or read a message.
She used the code to solve the puzzle.
Example picture