Both the House of Representatives and the Senate have the power to declare war. However, in practice, while Congress holds the power to declare war, the president often plays a significant role in military decisions. So the correct answer is:
both the House of Representatives and the Senate