Secondly, this concept is instrumental for index measurement. Stock market indices, such as the S&P 500 or NASDAQ Composite, use baskets of stocks to reflect the overall market's performance. These indices provide investors with a benchmark to gauge their investment strategies and make informed decisions based on market trends.