Greasing a pan with butter vs. with shortening
Both will do the job of greasing a pan but there are some differences. One of the big differences is that butter will add a very desirable flavor to whatever you are cooking—which especially complements sweet baked goods.

Shortening is pure fat whereas butter is only about 80% fat by weight. Butter may bring additional flavor to your recipe (even by greasing the pan) but it also adds some water which may not be wanted.

One final difference is that butter burns/browns more easily than shortening.