In video game development, Lua is widely used as a scripting language by game programmers, perhaps due to its perceived easiness to embed, fast execution, and short learning curve. In 2003, a poll conducted by GameDev.net showed Lua as the most popular scripting language for game programming.

https://www.google.com/search?safe=active&q=what+is+lua+used+for&sa=X&ved=0ahUKEwiTgfbT75LcAhWUnoMKHVvlDCkQ1QIInwEoAA&biw=1922&bih=1069