Perhaps an unintentional use of the definite article?
> The function of prison sentences is deterrence.
The definite article is typically used to indicate 'there is only one'[1].
1. https://learnenglish.britishcouncil.org/free-resources/gramm...