It is a vegetable similar to cabbage . Broccoli has green flower heads and a stalk .
Broccoli is a plant in the cabbage family , whose large flower head is used as a vegetable .