verb: to work; to do what something should do
I dropped my phone into a swimming pool, but it still functions, amazingly.
noun: what something does, its purpose
The hair on the human head has no clear function.