In a stand mixer with the whisk attachment (or using a hand mixer), whip the heavy cream and icing sugar on medium-high speed for about 3-5 minutes, until medium peaks form. Medium peaks are between soft peaks (which are too loose) and stiff peaks (which are too firm). Medium peaks are the ideal consistency for piping on desserts.