Original: It is different from an armistice, which is an agreement to cease hostilities, or a surrender, in which an army agrees to give up arms.
Simplified: A peace treaty is different from an armistice, which is an agreement to cease hostilities, or a surrender, in which one side agrees to give up its arms.