Savepoints are like markers. When executing a long transaction, it is a good programming practice to set up periodic savepoints so that we can roll back to the save point in case the transaction fails.