User space is where your application code runs with limited privileges; kernel space is where the OS kernel runs with full access to hardware and all memory.
“User space” and “kernel space” are concepts from OS memory protection, privilege levels, and CPU modes.
In a curriculum, you’d see them in an Operating Systems course or a Systems Programming / OS Internals course, often alongside processes, threads, scheduling, virtual memory, and interrupts.