International law is the branch of law based on custom, treaties, or legislation that control or effect the rights and duties of nations in relation to each other.