Where do you use a semicolon instead of a comma?

Rule: Use the semicolon if you have two independent clauses connected without a conjunction. Example: I have painted the house; I still need to sand the floors. Rule: Also use the semicolon when you already have commas within a sentence for smaller separations, and you need the semicolon to show bigger separations.

For More Information Please Refer: https://data.grammarbook.com/blog/commas/how-to-punctuate-between-sentences-using-commas-semicolons-and-colons/