how did crime and punishment change following the enlightenment?

Answer :

Because people realized that someone might not be guilty of a crime and that one doesn’t need to torture another