VLANs are used to divide a physical network into logical network segments to control broadcast domains. VLANs create multiple virtual LANs within a physical LAN by using VLAN tags in the header of Ethernet frames to logically separate devices on the same switch. VLAN trunks connect switches and route traffic for multiple VLANs by using a common physical link and identifying VLAN membership through tags in the frame header.