What is a function

a function is defined as every "x" value giving a unique "y" value, if you have a graph then you can tell if it's a function by 'the vertical line test' simply a vertical line placed anywhere on the graph will only cross through the graph once at the most