Why does a computer/office chair have fives legs? Why does a chair have four?

Why does a computer/office chair have fives legs? Why does a chair have four?