Understanding User and Kernel Mode

Kernel Mode? User Mode? Never heard at all.
How do we choose in which mode our C/C#/Java Code is executed. From what I’ve read I guess that’s not even possible. When would there be a practical use of these modes? Show me a little code :slight_smile:
Would someone be so kind and explain a little more?