An export licence is a way for a country to control the goods going out of the country – just like an import license is a way to control incoming goods.
The import or the export can be restricted or prohibited to meet the demands of the domestic market and consumers and protect the national economy.