Dear Student
In onion, there are more than one edible part.
Also known as scallions or green onions,spring onions are in fact very young onions, harvested before the bulb has had a chance to swell. Both the long, slender green tops and the small white bulb are edible, and are good either raw or cooked. They have a similar flavor to onions, but are much milder.
Regards