Question: what is the difference between component and function?
Answer: As nouns the difference between function and component is that function is what something does or is used for while component is a smaller, self-contained part of a larger entity often refers to a manufactured object that is part of a larger device.