IC sockets are used to protect integrated circuits (ICs) during insertion and removal from a printed circuit board (PCB). IC sockets allow for the safe and easy replacement of ICs without the risk of damaging the chip or the board.