The function of the comma is to organize your sentences and make things clear. For many sentences, particularly longer ones, if we did not use a comma we would have difficulty understanding the meaning that is being conveyed. Commas separate ideas and break up lists so that we can have several clear points within a single sentence. Although many of these sentences could be broken into two sentences, commas allow us to combine them into one and this helps with the flow of any piece of writing.
Understanding how to use a comma is very important because depending on the sentence,