Compliance testing is performed to maintain and validate the compliant state of the software. Every industry has a regulatory and compliance board that protects the end users.
Compliance is about meeting the minimum standards required to legally operate in that country. In other cases, a governance body is formed to standardise the minimum standards under which a member can operate. Once again, those standards usually exist to set a minimum set of legal bounds or responsibilities.