In ancient times, sunflowers were grown exclusively for their large and nutritious seeds.

An excerpt from the article 15 facts about sunflower

Oil extraction began much later. Currently, it is used for frying, as a softening ingredient in cosmetics, or as a biofuel ingredient. It can be obtained either by chemical or mechanical extraction.