If we find any problem after data manipulation and if we want to undo it, then we can use this ROLLBACK segment.
SAVEPOINT is the command used to save the workdone. After saving data, if we want to perform insertion/deletion and we done it wrongly, then we can ROLLBACK it by using the SAVEPOINT.