I need to block my opponent's horizontal threat. They have three X's in a row in the third row at positions 2-3-4, and could win on their next turn by playing in column 5. By placing my piece in column 5, I block this immediate threat. Additionally, this adds to my vertical presence in column 5 where I already have two O pieces, potentially setting up my own vertical opportunity in the future.