Mucuna pruriens has been used as an aphrodisiac for a very long time. In fact, that's how it gets it name ("pruriens" comes from the word "prurient", which means excessively interested in sex). Dopamine decreases your levels of prolactin. This is a hormone that makes you less interested in sex. After you orgasm, for example, your prolactin levels shoot up and you just want to go to sleep.
Lots of men who suffer from erectile dysfunction have high prolactin levels in their body. By increasing your level of dopamine, Mucuna pruriens inhibits your production of prolactin. The result is better sexual performance.