Criminal law stands as one of the most significant pillars of a functional society. It…