Just for argument's sake, say you're a man or woman that fears commitment. If you have a relationship with someone that is already married, there's no way that your relationship with that person will lead to marriage, unless they actually divorce their spouse.
I don't know if you consider that a benefit, but merely a reason why this may happen. Other than that, unless the person that has the affair with the married person wants to feel superior - hey, I've got the attention of your man / your woman. However, unless you're blind as well as stupid, this would only be a short-term feeling and you're willing to settle for less just for a temporary situation.