語法問題

為何句子中使用了in which ?
an agreement made between two people or groups in which each side gives up some of the things they want so that both sides are happy at the end.
an agreement made between two people or groups in which each side gives up some of the things they want so that both sides are happy at the end.