A fractal is a mathematical set that shows a repeating pattern that shows at every scale or a natural phenomenon. If the replication is just the same at every scale, it's called a self-similar routine. An example of this is the Menger Sponge. Fractals may also be almost the same at different degrees. This latter design is exemplified in the magnifications of the Mandelbrot set. Fractals additionally contains the notion of a comprehensive routine that replicates itself.