The Hospital holds your injured units and allows you to heal them. Units can be injured when defending the Base or when attacking Rebels. Attacks on other Bases or on Resource Tiles will not render injured units; they will automatically die.
Upgrading your Hospital to level 21 and 22 will also give an Unit Hitpoints Bonus.
Upgrading your Hospital: