ByteDance Interview Question

what is a transaction in SQL?