In order to cooperate in the material worlds as agents of a divine power, the spirits temporarily have a material body. By the work required in their corporeal lives, the spirits improve their intelligence and, by observing God's law, they acquire the merits which will lead them to eternal happiness.
Allan Kardec