poker two pair who wins

Why did I loose this texas holdem poker hand?
How did I loose this holdem hand? I went all in and got eliminated with this hand:
I had: 9d and 5h
Opponent had: Ac 10c
And the board was: 10h, 3s, 9c, 5d, 3s
I had 2 pair: 9’s and 5’s and it said he won ????
This is what it said:
Seat 4: (small blind) HI:lost with Two Pair, nines and fives [9d 5h - P:9d,B:9c,P:5h,B:5d,B:10h]
Seat 5: (big blind) Folded on the TURN
Seat 7: Folded on the POCKET CARDS
Seat 8: won Total ($2140) All-In HI:($2140) with Two Pair, tens and threes [Ac 10c -
Regardless, the higher pair will always win, not addition of pairs. What it boils down to is it checks for two things:
Who has two pairs? Who has the highest single pair out of those two? The highest single pair wins.
poker after dark season 9 episode 84 part 2