The circle of fifths is a sequence generated by looping through all 12 notes by the interval of a perfect fifth. The order determines the ordering of keys as we add / remove sharps or flats.
A common mnemonic for this ordering is BEADGCF (with each successive one adding a flat or removing a sharp)