Onions are one of the most widely used vegetables…