Yes, that's right.
B, who is in hospital recovering from an illness, gives her friend C money and instructs her to pay B’s water bill.
On these facts, agency law is the most relevant area of law.