Forts were constructed basically for military importance, other than that these were also constructed for general public. Forts keep the store of food and water for the future requirements. In the situation of emergency, forts had such an arrangement that people can live safely in it, until they could defeat the attacker.