1) To connect two grammatically independent items that are closely connected through meaning
To link two things that could function as independent sentences, but work better together in the same sentence, we separate them with a semi-colon:
2) To separate items in a list
Semi-colons be used in lists, especially useful when the list is complicated or contains words like 'and':
Note: Some people write the word without the hyphen: semicolon.