A felony is a serious criminal charge, which is defined in terms of possible punishment. It is defined in the California Penal Code as “any crime that is punishable by death or by imprisonment in a state prison.”