What does encoding do?

It should be noted that the most recent version of Shotcut changed “Encode” to “Export.”