Fold a graph of y=x2 along the y-axis and the two halves land on each other: f(3)=9 and f(−3)=9. That is what f(−x)=f(x) says, and such functions are called even. Now take y=x3: f(2)=8 but f(−2)=−8. Its left half is not a mirror image of the right half; it is the right half turned upside down as well. Spin the whole graph 180° about the origin and it lands on itself. That is f(−x)=−f(x), and such functions are called odd.
The names come from powers. Even powers erase a negative sign, (−x)4=x4, and odd powers keep it, (−x)5=−x5. So a polynomial made only of even powers (a constant counts, since 7=7x0) is even, and one made only of odd powers is odd. Functions without powers follow the same definitions: cos(−x)=cosx makes cosine even, and sin(−x)=−sinx makes sine odd. One consequence: if an odd function is defined at 0, then f(0)=−f(0), which forces f(0)=0, so its graph passes through the origin.
Even and odd do not split all functions into two groups the way they split whole numbers. Try f(x)=x2+x: f(−x)=x2−x. That is not x2+x, so it is not even, and it is not −x2−x, so it is not odd. Mixing an even power with an odd power gives a function that is neither, and a graph can look almost symmetric while failing both tests, which is why the check is done with algebra rather than by eye.
Think of it like this. Picture the letters A and S. An even function is like A: its left half mirrors its right half across a vertical line. An odd function is like S: it has no mirror line, but a half turn about its centre gives back the same S. Most shapes, like the letter F, are neither.
Core idea. Even functions give back f(x) when you plug in −x; odd functions give back −f(x).