Medieval cities grew up on the ruins of the cities of the Roman Empire, or these cities continued to exist. In the early Middle Ages, the cities decreased, only the center was surrounded by fortress walls.
Cities were located on trade routes or at their intersections, which influenced the growth and wealth of the city. These paths could pass both by land and by sea (or rivers).
The cities were also located near the mineral mines, where the resulting raw materials were processed.
Cities could also arise near castles, which were the administrative centers of the regions.
One of the components of a person's success in our time is receiving modern high-quality education, mastering the knowledge, skills and abilities necessary for life in society. A person today needs to study almost all his life, mastering everything new and new, acquiring the necessary professional qualities.