Equity is the primary reason that tech compensation is so high. Equity means your employer gives you ownership in the company as a portion of your compensation. The idea is that this incentivizes you to work harder to have the company perform well.
For most of Senior+ roles in US-based companies, equity will begin to dominate your pay. (This is the hallmark of a top tech company.) Some examples: