How is a mosque used?

Muslims pray in it.