Mayors are elected to be in charge of a city or town. They are the leaders of their local government. They work with other elected officials such as council members and city employees to prioritize projects within their city, setting legislative goals to advance their community through legislation and ordinances.