What is the meaning of Optimization?

The design and operation of a system or process to make it as good as possible in some defined sense.

The reduction of a program or algorithm to its most efficient form, as during compilation, by removing unused portions of code and improving the speed or resource usage of others.

Source: wiktionary.org