How to solve attraction puzzles
The king is the most common target. A sacrifice on h7 or f7 that the king must take drags it into the open, where checks follow. Attraction also works on other pieces: lure the queen onto a square where a knight forks it, or a rook onto a square where it blocks its own king.
The most famous attraction is the smothered mate. The queen is sacrificed next to the cornered king, a rook has to take it, and the rook now blocks the king’s last escape square. A knight check finishes the game.
To find an attraction, think backwards. Look for a tactic that would work if one enemy piece stood on a different square: a knight fork, a skewer or a mating pattern. Then ask whether a forcing sacrifice can put it there. If the piece has to take, and the follow-up wins more than you gave, you have found it.