A smart city is a town, or city, that uses different types of IoT devices to collect and use data about the city itself.