A semicolon is a punctuation mark that connects closely related independent clauses, while a colon introduces elements that explain, illustrate, or elaborate on the preceding clause. Both marks serve distinct purposes in enhancing clarity and cohesion in writing by organizing information and indicating relationships between ideas.