Attack on a pinned piece

When a piece is pinned, it cannot move without exposing a more valuable piece or the king. This makes it an ideal target—build pressure on the pinned piece with additional attackers until your opponent can no longer defend it, winning material or gaining a decisive advantage.

Example 1:

Attacking_Pinned_Piece_Ex1_Position_1.jpg

The bishop on d4 is pinned to White's queen. How can we take advantage of it? We should attack it - 1...e5! and White loses his bishop as moving it would give up a whole queen!

Example 2:

Attacking_Pinned_Piece_Ex2_Position_1.jpg
White's rook is pinned to the undefended queen. Black must attack the rook, however they must choose the correct square to attack from. Which move would you choose Rd8 or Ra7?

If you chose the natural 1...Rd8, you made a mistake!

Attacking_Pinned_Piece_Ex2_Position_2.jpg
White can simply take the rook 2.Rxd8!
Attacking_Pinned_Piece_Ex2_Position_3.jpg
Black can't take the queen since it's pinned to the king!

The correct way was 1...Ra7! since after 2.Rxa7

Attacking_Pinned_Piece_Ex2_Position_4.jpg

We can simply take White's queen: 2...Qxb5! - we are not getting mated along the back rank since we have Kh7 after Ra8.