As usual, magician has a pretty crisp explanation. Let me try it from another angle:
The p-value is the probability of seeing a value of the test statistic that far from the null or greater by chance, given that the null is actually true.
As an example - let’s say you chose an observation from a normally distributed distribution with variance 1, and observed a value of 1.96. You’ve hypothesized that the true mean of the distribution is zero. The p-value of this test statistic (assuming you’re using a 2-sided null) is the probabilitiy of observing 1.96 or greater given that the true value of the mean is zero. We know that 95% of a normal distribution lies between 1.96 standard deviations from the mean, so there’s there’s a 5% chance of seeing a value greater than 1.96 or less than -1.96 (it’s a 2-sided test) BY CHANCE IF THE TRUE VALUE OF THE MEAN WAS ZERO. So, in this case, the p-value would be 5%.
Let’s take the same example and assume you saw a value of 2.20. What’s the p-value? For a std normal, 97.22% of the distribution lies within +/- 2.2 standard deviations. So, there’s a 2.78% chance of observing this value by chance assuming that the true mean is zero. In other words, the p-value of a z-score of 2.20 in a 2-sided test given a null of sero would be 0.0278.
Rejecting a null hypothesis at the 10% level of significance would require a z-score of +/- 1.645 (in other words, 1.645 would be the critical value of the z-statistic).
In other words, you’d have to be “far enough away” from the null of zero that there would only be a 10% chance of seeing a value greater than that by chance if the null were actually zero. Likewise, you’d need to be 1.96 standard deviations away to reject at the 5% level (i.e. the critical value for 5% level of siginificance is 1.96), and 2.58 is the critical value to reject at the 1% level.
So, given the example above of a z-score of 2.2, you’re far enough away from the null that you can reject at the 10% level (i.e. you’re farther away than the 1.645 critical value) and you can reject at the 5% level (critical value of 1.96), but not at the 1% level (you’re not 2.58 standard deviations away, so you don’t exceed the 1% critical value.
For the TL:DR version - the p-value is the lowest level of significance at which you can reject the null.
NOTE: Edited the last line to correct an error Magician caught.