Lapping is the process of machining or sanding the valve head and valve seat to ensure a leak-tight fit between the two parts.