Looking after the sick.
Providing schooling.
Prayer - monks were often paid to pray for the souls of dead rich folk.