Courts decide guilt and punishment. The executive keeps a separate power to show mercy after conviction. The Constitution gives this power to the President in Article 72 and to the Governor in Article 161.
Both Articles use the same list of powers: to "grant pardons, reprieves, respites or remissions of punishment or to suspend, remit or commute the sentence of any person convicted of any offence". The difference lies in which cases each authority can act in. Exam questions test the five forms of clemency and the three differences in scope.