Mary drew three points that were not all on the same line. Then she drew three line segments to connect the points. What shape did Mary draw?

A) hexagon
B) rectangle
C) square
D) triangle