The reason is simple. There are so many companies listed in the stock market. On a particular day, it is impossible to tell how the market or a particular sector has performed - just by quoting individual stocks. Hence, an index clubs together a group of companies - giving people an indication of how the entire market has performed. Nifty has risen means major companies have performed well at the stock market. You can quickly understand the performance of the market without looking at individual stocks.