Cumming and Orgasms

I had always assumed that for a guy cumming and haveing an orgasm was one in the same... but based off some of the posts i've read on here lately i'm starting to wonder if it's actually not. Can someone tell me? 
When a man cums is that his orgasm or is that just cumming and the orgasm is a whole separate thing?