How to Use XY-Wing
Three cells with two candidates each — {X, Y}, {X, Z} and {Y, Z} — let you remove Z.
Example
12345678911875694232934872651356234179842849158736255687325895614596261543936872973516249878498735352169726918534
Remove 8 from R4C1. Remove 8 from R5C5.
Blue: the cells and candidates of the pattern. Red circles, struck through: candidates that can be removed.
How it works
Find a cell with candidates {X, Y} (the pivot), and two cells it sees with {X, Z} and {Y, Z} (the wings). The wings do not need to see each other.
If the pivot is X, the {X, Z} wing must be Z; if the pivot is Y, the {Y, Z} wing must be Z. Either way, one of the wings is Z.
So any cell that sees both wings cannot be Z, and its Z candidate can be removed.