It's own language, a mix between Java and BASIC. Has a simple OOP features.
Your code then is translated to either C++, Javascript or Java for Desktop and IOS, HTML5 or Android. After that translation it will call up a compiler to create the executable.