An index is a composition of stocks, which belongs to the same industry. It tracks the performance of that group of stocks, market sector, region or country economy.
There is no risk for bankruptcy, because if a company goes bankrupt and is delighted from the index, another company will substitute it. However, you need to know that if you invested your capital into this company, you will lose your capital.