In the Theravada tradition, one makes gifts & offerings (charity) on behalf of the deceased and dedicates that merit to them.