Researchers have shown that mice use chemical cues, including odors, to detect the social rank of an unfamiliar mouse and compare it to their own, using this information to determine their behavior.