In all of the methods, steam is used to rupture the oil membranes in the plant and release the essential oil. The steam carries the essential oil to a condenser and then as it re-liquefies the lighter essential oil floats on top.
The water and oil are then separated out, and the water is referred to as the hydrosol or hydrolat, or flower or floral water. And the oil of course is the essential oil!