Islamic architecture in India can be divided into two parts: religious and secular. Mosques and Tombs represent the religious architecture, while palaces and forts are examples of secular Islamic architecture. Forts were essentially functional, complete with a little township within and various fortifications to engage and repel the enemy.