All equity indices, such as S&P BSE Sensex, S&P BSE Mid cap, Nifty 50, Nifty 500 and others, come in two variants. What you see usually see in the papers is the Price Returns Index (PRI). The other variant is the Total Returns Index (TRI).
In a TRI, the dividends of the underlying companies of the index are added back into their share prices, which is why it is called the “total return” since the return from a company’s share doesn’t just come from the share price movement, but also from dividends.