What is not the function of a comma?

To indicate the end of a dependent clause that starts a sentence.

To separate two independent clauses.

To join independent clauses with a coordinating conjunction.

To separate items mentioned in a list.

To indicate the end of a dependent clause that starts a sentence.