Compiling and transpiling have a very similar definition, but aren't the same process. So, what's the difference?
Compiling is a catch all term for turning code written, into some lower-level executable for the computer (generally machine code). An example of some compiled languages are Java, C# or C. Sometimes it's compiled in multiple steps, each step optimising the code and getting it closer to machine code with each "pass" it does. A high level, closer to human readable language ends up "lower" or closer to binary.