The primary function of sclerenchyma cells is to provide structural support. These cells are especially important in parts of the plant that have ceased growing. Their thick, lignified walls make them resistant to compression and bending, which is crucial for the plant's overall mechanical integrity.