Why do plants need vitamins?

Simply, when plants aren't getting the minerals they need from the soil.

This may be because the soil is naturally deficient in one or more minerals, or because (especially in the case of potted plants) the minerals have all been used up. They also encourage maximum growth/blooms/fruit.