In Kotlin, when you call a function on an object, the language first checks if the object has a member function with that name. If it does, Kotlin calls that member function. If not, Kotlin looks for an extension function with that name and calls it if found. This means member functions have higher priority than extension functions. For example, if a class has a member function greet(), and there is also an extension function greet() for that class, calling greet() on an instance will call the member function. If the member function is removed, then the extension function will be called instead. This priority rule helps keep function calls clear and predictable.