A plane cuts a pyramid as shown in the diagram. What is the shape of the cross section?

A.
a hexagon

B.
a pentagon

C.
a square

D.
a triangle