Define color gradients

The <defs> element acts as a definition or container element. In this element other elements are defined which are reused within the SVGs, e.g. color gradients. Each element within the <defs> element is assigned an id attribute so that it can be referenced by other elements in the SVG.