What is the function of a semicolon?

It accompanies a comma.

It joins two independent clauses.

It introduces a quotation.

It separates a series of phrases.