Why do we need languages?
When software is installed on our machine, it is stored on an SSD (Solid State Drive) or HDD (Hard Disk Drive). However, when we run that application, it operates in RAM (Random Access Memory). This is because RAM is where active data and programs are temporarily stored for quick access by the CPU.
RAM only understands binary code, represented by a series of 0s and 1s (e.g., 0111001100), as it does not understand high-level programming languages. The code of installed software does not directly go into RAM. Instead, compilers convert this code into binary code (0s and 1s) that the machine or RAM can understand and execute.
This is how it works -
Developers do not write code in 0s and 1s because it would be very difficult. That's why we use programming languages. Developers write code in these languages, and compilers convert it into binary (0s and 1s) for the machine to understand and run.