A felony is a category of criminal defense that is generally more serious than a misdemeanor and can carry significant penalties, including imprisonment in a state or federal prison. Texas law divides felonies into different categories, including state jail felonies and first-, second-, and third-degree felonies. The potential punishment depends on the specific offense and applicable law.