The <g> SVG element is a container used to group other SVG elements.

Transformations applied To the <g> element are performed On its child elements, And its attributes are inherited by its children. It can also group multiple elements To be referenced later With the <use> element.