On Tuesday, the Sensex and Nifty closed slightly lower, ending their four-day upward trend following a day of market volatility. While IT stocks had fueled recent gains, selling pressure in the defence and realty sectors, along with profit-taking in mid-cap shares, pulled the indices down. Additionally, negative trends in Asian markets and selective selling across various sectors dampened investor confidence.