What is the Difference between civil and a criminal offense?

A civil offence is a criminal offence that applies to civilians as opposed to military personnel.

For example, in England and Wales the death penalty for the civil offence of treason was abolished by the Crime and Disorder Act 1998 c.37, but similar offences for military personnel were not abolished until later the same year by the Human Rights Act 1998 c.42.