Legislation:
Also called statutes and acts, these are laws produced in legislatures.
Case law:
Also called decisions, judgments, and sometimes precedents, these are laws created in the courts by judges.
Consult secondary resources (books and articles) before primary (cases and legislation) to: