To pass the weft yarn through the shed created by the warp in weaving.