Primary sources of law are legislative and case law. They come from official bodies. They include treaties, decisions of courts and tribunals, statutes, regulations.
Secondary sources of law are background resources. They explain, interpret and analyze. They include encyclopedias, law reviews, treatises, restatements. Secondary sources are a good way to start research and often have citations to primary sources.