Cats have tails to help their balance. Similar to the stick a trapeze/high wire walker uses.
The tail helps to serve as a counterbalance when cats walk on narrow spaces such as fences or shelves. The tail also aids in balance when a cat is running after or jumping on prey.
Just so you know....Cats can live without tails.