Difference between Hub and Switch

Here, are the differences between Hub and Switch:

Hub Switch
It operates on the physical layer. It operates on the data link layer.
It performs frame flooding (unicast, multicast, or broadcast). It performs broadcast, then the unicast and multicast as needed.
Just a singular domain of collision is present. Varied ports have separate collision domains.
Transmission mode is Half-duplex Transmission mode is Full duplex
Hubs operates as a Layer 1 device per the OSI model. Network switches help you to operate at Layer 2 of the OSI model.
To connect a network of personal computers should be joined through a central hub. Allow connecting multiple devices and ports.
Uses electrical signal orbits Uses frame & packet