A semicolon is a punctuation mark used to link two independent clauses that are closely related in thought, providing a stronger connection than a period but a weaker one than a colon. It can also be used to separate items in a list when the items themselves contain commas, ensuring clarity in complex lists.