By measuring the compilation of similar stocks instead of just one or two stocks, a stock index provides information about that particular market or segment.