How does wheat differ from straw and hay?

Wheat is a type of cereal grass. When the wheat grain is harvested the stalks that remain are referred to as straw.

Hay however, is dried grass.