A criminal action is one by which the State prosecutes a person for an act or omission punishable by law.