A person convicted of a crime may be sentenced to spend time in prison.