A cosmetic defect refers to a superficial flaw or imperfection on the surface of a printed circuit board (PCB) that does not impact its electrical performance or functionality. These defects are purely aesthetic in nature and do not affect the overall reliability or operation of the board.