Question: is a straight line a function?
Answer: A function is a relation with the property that each input is related to exactly one output. A relation is a set of ordered pairs. The graph of a linear function is a straight line, but a vertical line is not the graph of a function.