What's an IQ test? Seriously what does it measure?

It seems to measure solving IQ tests to me. I usually get 140+