When the inlet/unloader valve is open, the air enters the compressor screw element. The screw element works like a pump and it compressed the air. During this process, oil is injected in the element. The oil is there to cool the air, as the air gets very hot during compression.
[pdf]