👉 In mathematics, a pentagon is a polygon with five sides. This means that it has 5 vertices and 5 angles (or diagonals if you count one as an edge). It's also known as a heptagon in some contexts. The name "pentagon" comes from the Greek word for seven, which is "pent".