Butter gives frosting a delicious desirable buttery taste, however adding shortening provides structure and makes your frosting holds its shape and not melt or separate in warmer temperature.