An octagon is a flat shape with 8 sides and 8 corners. Octagons can be regular or irregular.
The sides are also called segments. They are shown in purple in the image below. The vertices are the corners where two sides meet, shown in red.
Click on any element to learn more.