Answer:
The purpose of the comma is to separte the items of list.
Step-by-step explanation:
In the sentence above, the comma separates each of the items of a list, the list made up of the things Michael did: He went to the library, used the computers, and studied for a test. You should use commas to separate words and word groups in a series of three or more items.