Original: A tragedy typically ended with the death or destruction of a fictional or historical hero, whereas a comedy focused on the lives of middle to lower class characters and ended with their success.
Simplified: In live theater the difference between comedy and tragedy became less and less significant, in mass media, comedy and drama were clearly separated.