for every country its different but for USA it states that in Article one section 8 of the constitution it says "Congress shall have the power to declare war" Basically the legislative branch which is the congress because they decide the laws,wars,etc