what similarities and differences are there between functions and linear equations?

Is there an instance when a linear equation is not a function?

I cant think of any linear function that is not a function.