A Software is made up of instruction set, that we call a piece of “Code”. A programmer writes this code and once compiled and packaged becomes, Software/Application.
When you launch this Application/Software, the code is sent to CPU for those instructions to execute. For example this piece of Code