What do you mean by “works”?
Catholics teach that Jesus' sacrifice on the Cross was not sufficient for a full atonement for our sins...
They have come up with 7 sacraments (works) to help cover the cost of part of the atonement themselves...
Catholics and others count their good works toward earning their salvation...
Works is any act a person may perform, any type of charity whether it be giving or work one may do to gain grace or favor with God, or for the purpose of gaining salvation...
I could probably add to that but hope that suffices for your inquiry...