Masturbation vs. Sex

So I’ve had orgasms through masterbation before and I’m a virgin, so my question is how different is it having an orgasm through masterbation and an orgasm through sex?