How does CIS work in practice?
If you pay other people to do construction work, you are a contractor and must register, verify each subcontractor with HMRC, deduct tax from the labour part of their invoices, file a monthly CIS return and pay the deductions over. If you are the one being paid, you are a subcontractor and the deduction comes off before the money reaches you.
The deduction applies to labour, not materials, and the rate depends on the subcontractor's status with HMRC: 20% for registered subcontractors, 30% for unregistered ones, and nothing at all for those with gross payment status.
The deductions are not a separate tax. They are payments on account of the subcontractor's income tax or corporation tax, so a sole trader subcontractor reclaims or offsets them through Self Assessment, and a limited company offsets them against its PAYE liabilities during the year.