You link the life of two creatures you can see within range for the duration of the spell, selecting either an life link or inverse life link, with the following effects based on which option you select:
Life Link: When one target regains Hit points so does the other target, and one target takes damage, the other target takes an equal amount of damage as Necrotic damage.
Inverse Life Link: When one target loses Hit points the other gains and equal number of Hit points, when one target regains Hit points (other than from this effect), the other takes an equal amount of Necrotic damage.
Regardless of the option, the link lasts until the spell ends, or the link has transfered 40 Hit points of healing or damage to the other target.
Upcasting. When you cast this spell with a 6th level spell slot or higher, the number of hit points the link can transfer increases by 10 for each level above 5th.