What is the meaning of Sackcloth?

A coarse hessian style of cloth used to make sacks.

Garments worn as an act of penance.

Source: wiktionary.org