Building a fort served many purposes. Some of them are as follows:
• It was a way to show off the might of the raja.
• A fort made a city more secure.
• A fortified city was easier to manage.