Cerci are the two little hairs on the rear end of a cockroach. They act like a motion detector. When something tries to sneak up on a cockroach, the cerci detect the slightest breeze or movement, and alert the cockroach to run in the opposite direction.