Federal law refers to laws that are created and enforced by the federal government of a country. These laws apply to all citizens and cover areas such as taxes, trade, immigration, national defense, and foreign relations. Federal law takes precedence over state or local laws when there is a conflict between them.