According to the docs, The express() function is a top-level function exported by the express module.
It is similar like having Class and Object. The variable express that you are declaring is acting as a class, while the variable app is the object of it which is used.