Who is the mayor of Denmark and what does he do?

Denmark doesn't have a mayor, each municipalities has a mayor. The name is Prime Minister, and he rules the country. Of course not alone, we have democracy in Denmark. And he gets switched out every fourth year.