The mystagogy of the celebration
The anointing with sacred chrism, perfumed oil consecrated by the bishop, signifies the gift of the Holy Spirit to the newly baptized, who has become a Christian, that is, one "anointed" by the Holy Spirit, incorporated into Christ who is anointed priest, prophet, and king.
Source: Catechism of the Catholic Church (Vatican.va)