Prisons in Ireland are one of the main forms of punishment, rehabilitation, or both for the commission of an indictable offense and other offenses.