They used to be prepared for the Chinese ancestor worship rituals as offerings to the spirits of the deceased.