THE DIFFERENCE BETWEEN A ROUTER, SWITCH, GATEWAY, HUB AND A HUB?

Pls i will like a clear explanation of the following devices and there use and how they can be applied
6 answers 6