Databases are filled with lot's of empty field space depending on whether or not fields are used. As additions and deletions are made, this empty space can cause the database to grow quite large.
By compacting the case, the empty space is recovered and the file size can be decreased dramatically.
Cases are backed up before compacting.
Note - all users must be out of a case for it to be successfully compacted.