Fractals are geometric objects that are self-similar across different scales. They are formed through an iterative process and can be used to model many natural phenomena like ferns and trees. In computer graphics, fractal functions are used to procedurally generate complex geometric shapes by varying parameters at each iteration to add randomness and realism.