Principle
Haarev shemeshהַעֲרֵב שֶׁמֶשׁ
HA-A-REV SHE-MESH
Sunset completes purification
The final stage of purification for one who was tamei and immersed: the Torah says "and the sun sets, and he shall be tahor" (Vayikra 22:7). Immersion alone leaves the person or vessel a tevul yom — clean for ordinary purposes but still disqualifying terumah and kodesh — and only the arrival of sunset finishes the process. Many laws therefore hinge on whether an act takes effect before or after dark.
Where it comes up
1 mishnah