The term 基本法 (jīběnfǎ) is inseparable from the “One Country, Two Systems” (一国两制, yī guó liǎng zhì) principle. This policy, formulated by Deng Xiaoping, was a pragmatic solution for reunifying China while allowing regions with vastly different economic and political systems, like Hong Kong (a former British colony) and Macau (a former Portuguese colony), to maintain their way of life.
The Basic Law is the legal backbone of this principle. It grants the Special Administrative Regions (SARs) executive, legislative, and independent judicial power, and protects rights and freedoms not available in mainland China, such as freedom of speech, press, and assembly.
Comparison to Western Concepts: A useful, though imperfect, analogy is the relationship between the U.S. Federal Constitution and a state constitution. The PRC Constitution is the supreme national law (the “federal” level), while the 基本法 acts like a highly empowered “state” constitution for Hong Kong and Macau. However, a crucial difference is that the Basic Law was enacted by China's national legislature, the National People's Congress, not created independently by the SARs themselves. This distinction is central to ongoing political debates about the scope of the regions' autonomy.