A semicolon primarily functions to separate items in a list, particularly when the items themselves contain commas. Therefore, the correct answer is:
2. It separates items in a list.
For example, in a list like this: "On our trip, we visited Paris, France; Rome, Italy; and Berlin, Germany," the semicolons clarify the separate items in the list.