what is the tranfer of energy through a medium from one point to another