Is cargo worth it?

Is cargo something that is worth doing along carrying passengers? And I don’t mean cargo in passenger aircraft, I mean flying cargo aircraft.

Or is it more of do one or the other?