A tax imposed on succession to property, real or personal, according to its value and to the relation of the successor to the testator or predecessor.