The United Nations Charter provides the foundation for UN peacekeeping operations. While peacekeeping is not explicitly mentioned in the Charter, the Security Council has used its responsibility for international peace and security to authorize peacekeeping missions. The legal basis can be found in Chapters VI and VII, which deal with peaceful dispute resolution and enforcement actions. More recently, Chapter VII has often been invoked to authorize missions in volatile post-conflict environments where the state lacks security control. Peacekeeping must also be grounded in international human rights and humanitarian law to help guide personnel on how their tasks intersect with these norms and how to respond appropriately to violations while protecting civilians.