Summary:
If you capture a city that belonged to a conquered civilization or city-state, you have the chance to liberate that civilization or city-state, bringing them back into the game. This earns a large amount of admiration from the liberated player which can be leveraged for an attempt to win Diplomatic Victory. For a liberated city-state, you will gain a large amount of influence which goes towards securing them as your ally and gaining more delegates in the World Congress. For a liberated civilization, they will like you much more, and be much more likely to use their delegates to support you for World Leader.