The ARM Cortex-M is a group of 32-bit RISC processor cores licensed by Arm Holdings.
STM32 MCUs are build around various of these Cortex cores.