Original sentence: Around 80 years after Muhammad's death the first minarets we know of appeared.As the sun heats the dome, air is drawn in through open windows and up and out of the shaft, thereby causing a natural ventilation.In a practical sense, these are also used for natural air conditioning.In some of the oldest mosques, such as the Great Mosque of Damascus, minarets originally served as illuminated watchtowers(hence the derivation of the word from the Arabic nur, meaning "light").Minarets have no religious function.The earliest mosques were built without minarets, and the action of adhan could be performed in many other locations.The hadiths tell us that the Muslim community of Madina called out to prayers from the roof of the house of Muhammad, a house that doubled as a house for prayers
Edited sentence: In some of the oldest mosques, such as the Great Mosque of Damascus, minarets originally served as illuminated watchtowers (hence the derivation of the word from the Arabic nur, meaning "light").Minarets also function are as air conditioning mechanisms:  as the sun heats the dome, air is drawn in through open windows then up and out of the minaret, thereby providing natural ventilation