Just to add to this so the tax "advantage is clear"
In simple terms, so ignoring any NI for illustrative purposes
If you sacrifice £10k as Adam has shown above then £10k is paid into your pension
If you had taken it as salary then you would have received £6,000 and HMRC would have received £4,000