Name the three main ways to use a semicolon:

1. To separate independent clauses in a sentence that are closely related in meaning and are not already connected by a conjunction.

Example: I studied all night for the exam; however, I still struggled to answer some of the questions.

2. To separate items in a list when the items themselves contain commas.

Example: The conference will be held in Paris, France; Rome, Italy; and Madrid, Spain.

3. To separate items in a series or list that already use commas.

Example: The company's offices are in New York, New York; Los Angeles, California; and Chicago, Illinois.