It is a monastery complex carved into the rock. Similar in some ways to Meteora with its location into the rock, though from what I could see was not at all built up. Apparently built in the 13th century, they carved into the rock and used it like that. The monastery is in a region called Guzelyurt. Its definitely a religious place. But there used to be frescos and color on the walls, but those traces are gone now.