Optimization is like solving a puzzle. You have a bunch of pieces (sometimes called "variables") that you can arrange in lots of different ways. Optimization is the process of figuring out which way to arrange them so that they make a picture that is as good as possible.