Definitions of sentence
the punishment given to a convicted criminal by a court
He was sentenced to 100 hours of community service after being convicted of assault.
the punishment given to a convicted criminal by a court; used as a synonym for prison sentence (=the length of time a convicted criminal must serve in prison)
She was given a two-and-a-half year sentence in February after pleading guilty to unlawful wounding.