POS systems are used in retail to process sales transactions, including recording sales, applying discounts, and handling payments.