A bridge is a data link layer device that segments a network by caching MAC addresses. Bridges learn which hosts reside on each port by inspecting source MAC addresses in frame headers. Bridges filter traffic based on where the destination host is known to reside. For this reason, bridges segment networks into at least two collision domains.
A layer two switch is known as a multiport bridge.