F5 interview question

What is the difference between a hub and a switch?