Scala programming language treats every single value as an object, which also includes Functions. This way, it is a combination of both functional and object-oriented programming.