/ˌpɛnɪˈtɛnʃəɹi/5 syllablesadjective, noun#22,506 of the 30,000 most common English words
Penitentiary reaches English through Middle English, Medieval Latin and Latin. Penitentiary today means “Of or relating to penance; penitential”.
Etymology of penitentiary
From Middle English penitentiary, from Medieval Latin pēnitentiārius (“place of penitence”), from Latin paenitentia (“penitence”), term used by the Quakers in Pennsylvania during the 1790s, describing a place for penitents to dwell upon their sins.
Etymology text from Wiktionary (CC BY-SA 4.0). Asterisked forms are reconstructed, not attested.