The f2 and f7 pawns are only defended by the king in the starting position, so it can be subject to attack. If you can attack your opponent's f-pawn with two pieces when it's only defended by a king you can frequently win material or checkmate. A good defensive idea is to castle so that your rook defends the f-pawn.