What is the role of the governor of a state in regards with prisoners and its prison?

pardon, release, or commute sentences