Three things in a line. The attacker, the pinned piece, and the prize behind it.
White has a bishop on e2. Black has a knight on c6 and a king on e8.
Bishop to b5 puts all three of them on one diagonal.
Bishop b5, knight c6, king e8, in a dead straight line.
If the knight steps aside, the bishop takes the king. So it is not allowed to move at all.
That is an absolute pin. Pinned to the king, so the rules do the work for you.
Notice what the pin has not done. It has not won anything yet.
You win the piece by attacking it a second time, while it has no way to run.
Attacker, victim, prize. All on one line. That is a pin.
A pin is a piece that cannot move, because something more valuable is right behind it.