The brain’s ability to categorize based on straightforward resemblance or on a more abstract similarity arises from its use of distinct rhythms, at distinct times, in distinct parts of the prefrontal cortex. Gamma in one region handles sensory comparisons, but beta in another region considers the less obvious ways things go together.