A declaration of war is a formal act by which one state goes to war against another.
The declaration is a performative speech act (or the signing of a document) by an authorized party of a national government, in order to create a state of war between two or more states.
Double Click info graphic, for a larger, clearer view.