You use a comma in a sentence to separate items in a list, to separate two independent clauses, to separate a dependent clause from an independent clause, to separate introductory words or phrases from the rest of the sentence, and to set off direct address or interjections.