The correct option is B Liliaceae
The onion (Allium cepa L.) also known as the bulb onion or common onion, is used as a vegetable and is the most widely cultivated species of the genus Allium. The name wild onion is applied to a number of Allium species but A. cepa is exclusively known from cultivation and its ancestral wild original form is not known, although escapes from cultivation have become established in some regions. The onion is most frequently a biennial or a perennial plant, but is usually treated as an annual and harvested in its first growing season.
Allium cepa belongs to the family Liliaceae and not to Solanaceae, Cruciferae or Compositae.
Therefore, the correct answer is option B.