A polygon is defined as a simple closed figure formed by connecting line segments. One important property of polygons is the sum of their interior angles. For any polygon with $n$ sides, the sum of the interior angles can be calculated using the formula:
$$S = (n - 2) \times 180^\circ$$
Where $S$ is the sum of interior angles and $n$ is the number of sides. Let’s consider a polygon with 6 sides, which is known as a hexagon. What is the sum of the interior angles of this hexagon?