Am I correct in thinking that a compound sentence is made up of two simple sentences joined by a co-ordinating conjunction (for, and, nor, but, or, yet, so)? Is a comma placed before the conjunction?
E.g. The boy went swimming, and he went to the gym