Misdemeanors are less serious than felonies, either because the intent requirement is of a lower level or because the result is less extreme. Misdemeanors are usually punishable by jail time of one year or less per misdemeanor, a fine, or alternative sentencing like probation, rehabilitation, or community service. Note that incarceration for a misdemeanor is in jail rather than prison. The difference between jail and prison is that cities and counties operate jails, and the state or federal government operates prisons, depending on the crime. The restrictive nature of the confinement also differs between jail and prison. Jails are for defendants who have committed less serious offenses, so they are generally less restrictive than prisons.