What Does the “Upgrade” Option Actually Do?

I’ve wondered this for years and have never seriously looked into it, but can anyone give me a good explanation for the “upgrade” option in the contextual menu?