Sometimes for certain languages, classes and packages it may be necessary to use a different compiler than the default pdflatex. With Overleaf, you can choose between pdfLaTeX, LaTeX, XƎLaTeX, and LuaLaTeX.