⚡️Hubs connect devices in an internal network but lack intelligence to filter or direct data.
🌐Switches are intelligent devices that learn and store the physical addresses of connected devices.
🔁Switches direct data packets to the intended destination port, reducing unnecessary traffic.
🚪Routers route or forward data between different networks based on their IP addresses.
🔒Using switches instead of hubs enhances network security by preventing data from reaching unintended devices.