Original: A peace treaty is an agreement between two hostile parties , usually countries or governments , that formally ends an armed conflict .
Simplified: The conflict is usually between countries or governments , but may be between any other kind of group .