The sign of peace, and where it came from
A custom of the Mass
Before Communion, the priest prays for the peace Christ left his apostles, and the assembly exchanges a sign of it. The gesture is ancient — St. Paul ends letters urging Christians to greet one another with a holy kiss, and St. Justin Martyr, writing around 155, describes the kiss of peace in the assembly before the gifts were offered. Its place and form have shifted across the centuries and differ by culture — a handshake here, a bow elsewhere — but its logic has not: reconciliation with your neighbour, made visible, on the way to one table.
Source: GIRM 82; St. Justin Martyr, First Apology 65