Conventional wisdom has you out of the saddle at a low cadence using your weight and body to propel the bike and give your quads a break. While seated you can change your posture and pedaling to engage different muscles to do the work. Trying to sprint up hills out of the saddle will only make you blow up, geared bike or no.