Patronymics is the practice of creating last names from the name of one's father. For example, Robert, John's son, would become Robert Johnson. Robert Johnson's son Neil would become Neil Robertson.
Patronymic naming systems were common in many countries, lasting until the late nineteenth century in the Scandinavian countries and in Wales. Patronymic names are still used in Iceland.