Walkthrough
Example 01 — Row-based X-Wing
Digit 1 appears as a candidate only at r2c6 and r2c7 in row 2. In row 8, number 1 appears only at r8c6 and r8c7. The candidate columns match: c6 and c7.
That means the number 1 in rows 2 and 8 must occupy those two columns in some order. If row 2 takes column 6, row 8 must take coumn 7. If row 2 takes column 7, row 8 must take column 6. This pattern allows eliminate number 1 from any other cells in both column 6 and column 7, in this case those cells are r6c7 and r7c6.
What to notice: Either way, columns 6 and 7 already receive their number 1 inside the four X-Wing cells. Other cells in those columns cannot contain 6.