When should a comma be used in a sentence?

Commas are one of the most frustrating grammatical concepts, even for native English speakers. Nevertheless, there are specific rules for when you should and shouldn't use commas. Building our grammar checker we've identified 26 places where you might need a comma. In this article, I will explain all of these places along with examples of how to use commas in English sentences.
So, where do commas go in a sentence? This is the definitive list:
Before a coordinating conjunction when it separates two independent clauses.
After an initial/introductory adverb that modifies a whole sentence or independent clause.
After a time phrase that comes before a sentence or independent clause.
After a subordinate clause—one that starts with a subordinating conjunction.
Between two adjectives when they both modify the noun—coordinate adjectives.
At the end of a quotation, before the closing quotation mark.
To separate the day from the month, and the date from the year.