What is a Cilice?

It used to only mean a shirt that was made out of really coarse animal hair or a really coarse cloth. It was worn to signify repentance and atonement. It was supposed to cause discomfort and pain. Nowadays they use the word to mean anything that’s used for the same purpose.