it can prevent the sauce from sticking to the pasta. since oil is less dense than water and is composed of hydrophobic molecules, it creates a layer across the top of the water. when the pasta is drained, it is poured through this oiled layer and leaves a fresh coat of oil on the pasta.