Cats use their whiskers to detect changes in air currents, which can alert them to potential predators or prey. Whiskers also help cats to navigate in the dark, as they can detect objects in their path. They can also be used to measure the width of an opening, such as a mouse hole or a door, to determine if the cat can fit through it.