Strapi interview question

What is a pure function and how does it differ from a function?