Hero flops an open-ended straight draw, completes the straight on the turn, and correctly gets all the money in. The key decision — the turn raise — is excellent, extracting maximum value from a made straight against top pair.
Street-by-Street Analysis
Preflop (7/10)
Calling $10 from the BB with 7♦8♦ — a suited connector — is standard, closing the action with good pot odds and a hand that plays well multiway.
Flop (6/10)
You have only a high card with an open-ended straight draw (8 outs). Check-calling $20 into a $31 pot against the preflop raiser on an A-high board is reasonable — you're getting the price to draw. However, a check-raise as a semi-bluff could also work here to take it down or build a pot for when you hit, and would be a more aggressive, higher-EV line out of position.
Turn (9/10)
The 9♠ completes your straight (5-6-7-8-9). You now have the nuts at this point. Check-raising to $125 is a strong value play — you let UTG bet $50, then raise to build the pot. When UTG shoves for $200 more, calling is trivially correct with 77%+ equity even against the very top of their range (a set of aces). Perfectly played.
River (—)
All money went in on the turn. Hero's straight holds up against UTG's A♦K♦ (top pair, top kicker). Well done.
Hindsight: UTG had AKo — exactly the kind of hand that can't fold top pair top kicker. Your raise extracted maximum value.