Hospital is the place where the injured soldiers can be healed. Healing injured soldiers costs 1/2 of the time and resource of training a new soldier.
Increasing the number of Hospitals and upgrading the building will help you maintain your strength.
You can also increase your Hospital max capacity and healing speed by using Skill Points in the University.
When you are defending Castle attack, all the injured soldiers are sent to the Hospital. If you have more injured than your max Hospital capacity, then exceeding injured will be killed.
The number of injured rather than being killed varies depending on the battle type.
When defending Castle attack, all the injured soldiers are sent to the Hospital. If you have more injured than your max Hospital capacity, then exceeding injured will be killed.
When you are attacking enemy's resource tile ,then all the injured will be sent to Hospital automatically until you reach the Hospital capacity limit.
When attacking enemy's Castle, most of the soldiers will be killed. Injured number will be based on completed researches.