One of the 25 questions in this topic
They prevent combustion gases from passing into the crankcase and oil from entering the chamber.