In South Africa, both employees and employers are required to contribute to the UIF. However, there are exemptions for certain individuals, including those who work less than 24 hours per month and those holding specific governmental or traditional leadership roles.