Your modern motherboard has more than a few remnants of legacy ports and headers from decades ago. While the obsolete VGA port and even PS/2 ports can be found on some boards today, the serial/COM header has a more interesting story. It was used to connect older mice and modems up until the mid-2000s, which is when the dedicated serial port started disappearing from the rear I/O.