Stock markets closed with gains on Tuesday, extending the winning run to the third day on the trot after buying in power, utilities, oil and gas and banking shares. The 30-share BSE Sensex climbed 229.84 points or 0.32 per cent to settle at 71,336.80. During the day, it jumped 364.33 points or 0.51 per cent to 71,471.29. Index heavyweights HDFC Bank and Reliance Industries contributed around 120 points to the rally. The broader Nifty advanced 91.95 points or 0.43 per cent to 21,441.35.