Control totals are used to ensure that the processing of data is accurate and complete. This is done by comparing totals of records or transactions processed with the expected totals, which serves to ensure that the data is correctly processed and that any errors or discrepancies are detected.