The correct option is B Carthamus tinctorius
Safflower (Carthamus tinctorius) is a highly branched, herbaceous, thistle-like annual plant. It is commercially cultivated for vegetable oil extracted from the seeds. Plants are 30 to 150 cm tall with globular flower heads having yellow, orange, or red flowers. It belongs to the family Asteraceae (Compositae). Thus, option B is correct. Glycine max (Soya bean) belongs to family Fabaceae and do not yields oil. Brassica tulipa belongs to family Brassicaceae. Shisham belongs to family Fabaceae and it is a timber plant. Thus, other options are wrong.