Each CPU has a set of instructions that it can execute. The instructions that the CPU executes make up the CPU’s machine language. These machine instructions are stored in the memory as a sequence of bytes that is fetched, interpreted, and executed by the CPU.
A compiler is a program that translates programs written in a programming language (like C or C++) into the machine language.