ROLLBACK is a Transaction Control Language (TCL) command that undoes transactions, while GRANT and REVOKE are Data Control Language (DCL) commands used for permissions. TCL includes COMMIT, ROLLBACK, and SAVEPOINT for managing database transactions.
Transaction Control Language (TCL) commands manage the effects of transactions on data, and ROLLBACK (along with COMMIT and SAVEPOINT) is one of the core TCL statements — it undoes the changes made in the current uncommitted transaction. GRANT and REVOKE, by contrast, belong to Data Control Language (DCL), since they manage user permissions rather than transaction state.