What is Liturgy?
1082 In the Church's liturgy the divine blessing is fully revealed and communicated. the Father is acknowledged and adored as the source and the end of all the blessings of creation and salvation. In his Word who became incarnate, died, and rose for us, he fills us with his blessings. Through his Word, he pours into our hearts the Gift that contains all gifts, the Holy Spirit.
What is a Sacrament?
It is an outward sign instituted by Christ that gives grace.
1210 Christ instituted the sacraments of the new law.
There are seven: Baptism, Confirmation (or Chrismation), the Eucharist, Penance, the Anointing of the Sick, Holy Orders and Matrimony. The seven sacraments touch all the stages and all the important moments of Christian life:1 they give birth and increase, healing and mission to the Christian's life of faith. There is thus a certain resemblance between the stages of natural life and the stages of the spiritual life.
Catechism of the Catholic Church