What is the Responsibility to Protect (R2P) Doctrine?

What is the Responsibility to Protect (R2P) Doctrine? Do democractic states have a responsiblity to protect inhuman actions that occur to a multitude of people in neighboring countries? Why does the emergence of globalization further reinforce the importance of R2P and the role of the United Nations?