The purpose of a criminal appeal is to challenge the verdict or sentence imposed by the lower court and to correct any errors made during the trial.