"The sacraments are efficacious signs of grace, instituted by Christ and entrusted to the Church, by which divine life is dispensed to us. The visible rites by which the sacraments are celebrated signify and make present the graces proper to each sacrament. They bear fruit in those who receive them with the required dispositions" (CCC 1131).
"They are efficacious because in them Christ himself is at work: it is he who baptizes, he who acts in his sacraments in order to communicate the grace that each sacrament signifies" (CCC 1127). Thus the celebration of the sacraments in the Church are outward signs of the internal reality of the Holy Spirit conferring his grace upon us.