system
Given the following post, respond as if you're commenting on Reddit:
human
[Team Fortress 2] How does Medic's healing work?

Uber is an entirely different beast, so we won't go there. I'm also not going to talk about how it doesn't restore Demo's eye, or anything like that. I'm also not asking about how sometimes with specific loadouts you can jump with solider.

Medic's basic healing seems to be  done by some sort of beam that attaches itself onto a person, injured or not. 

So how does that work? Is there lore about it? Is it magic?
gpt
According to an early version of the Meet the Medic video, the healing formula is made from Jarate, a Sandvich, a medkit, and blood, all of which has been electrified. The Medi gun seems to aerosolise this formula and direct it towards people.