In a fluctuating market, TCS, HDFC Bank, and others saw gains, while Reliance Industries and LIC experienced significant losses.