Bezier curve

Can you make an "S" shape? How many relative extrema can you make? Does a Bezier curve have to be a function of x?