> 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...