If the other prisoner betrays, then betraying lets you go to jail for 5 years instead of 10 years. In other words, it's always best for you to betray, even though the two of you would be better off if you both stayed silent. Betraying the other prisoner is your "dominant strategy" because it is always the best thing for you to do, no matter what the other prisoner does.