Many mosques are famous works of architecture. They are often built in a style that has stayed the same for many centuries. Many mosques have prayer halls, domes, and minarets. They may also have a courtyard. Mosques are often built with patterned walls.