Onions are one of the most popular and versatile vegetables used worldwide, not only for…