Changing ownership of files when the UID/GID is obsolete or you need to change it for some other reason.
If you have changed or removed a UID for a user or GID a group, you must also change the flags set on the files belonging to these IDs. Otherwise you will have orphaned files.