Hubs and Switches are similar: ends hosts in a LAN can be plugged in via an ethernet cable so that they can communicate with each other via the hub or switch.