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.