A cubic function is a polynomial function of degree three, typically expressed in the form $f(x) = ax^3 + bx^2 + cx + d$, where $a$, $b$, $c$, and $d$ are constants and $a \neq 0$. These functions can have up to three real roots and exhibit distinct characteristics such as points of inflection.