Sensex and Nifty snapped their four-day winning streak to end marginally lower on Tuesday after a volatile trading session. Profit booking in mid-cap stocks and selling in defence and realty counters outweighed gains in IT stocks, which had driven the rally over previous sessions. Weakness across Asian markets and stock-specific selling across sectors also weighed on investor sentiment.