Hello,
The short answer: punctuation.
In your first example:
"A jury is required in many court cases, ranging from the most serious criminal offences to some civil cases."
Because the second part after the comma can not stand on its own as a sentence, a comma is used.
A semicolon ( ; ) would be used when joining two parts of a sentence, if both parts could stand on their own as sentences.