a family of microcontrollers will have similar architecture, but differences regarding peripherals, clock speed, ports, memory, etc.
so that if you became familiar with one, it wouldn’t be too much trouble using any of the family for another project that had some different requirements.