A new programming language is used in power query that’s called M-Code. It is very easy to use and similar to other languages. M-code is a case sensitive language.
The correct answer is that Power Query primarily uses a functional programming language called M. M is specifically designed for data transformation and is utilized within Power Query to manipulate and transform data from various sources before loading it into Excel, Power BI, or other Microsoft products.