Anointing oil was traditionally used to anoint kings and priests. It was also used as an act of hospitality .The Hebrews Applied oil on themselves as a way to refresh their bodies.
Nowdays it is commonly used for praying over others or oneself for the purpose of healing, doing God’s will, protection in spiritual warfare, consecration, etc.