Basically, it’s based on the value of a bunch of big, publicly traded companies. The whole “when the markets go up it means more economy” thing is an oversimplification, but it kinda works in that when things break profits go down, and so does the value of shares in ownership of them.