I am going to answer this by considering Function as a Normal Function (non member function)
We can access the member function by an object of that class.
Function has not required an object of that class.
we can apply the visiblity levels to the member function.
we cant apply the visiblity levels to the function.