Bank Nifty is a specialized index that measures the performance of only the banking sector of India. On the other hand, the Nifty50 represents 13 sectors including IT, banking, pharma, telecom, energy, etc. Those investors who are looking for diversifying their portfolio should invest in the Nifty50 index since it reduces the risk of investing in a single sector.