So this is Inf Health with a sub routine???

Please explain to me what a sub routine is. I'm a noob when it comes to all this coding stuff.