A cat's whiskers are thought to be a kind of radar, which helps a cat gauge the space it intends to walk through.
As an extra, here's a cute lil cat ^-^