Paris Climate Agreement. But what is it actually about? What were they trying to accomplish?

Paris Climate Agreement. But what is it actually about? What were they trying to accomplish? What will happen now that President Trump has indicated the U.S. will no longer be a part of this agreement?