Read the following context and answer the question.
Context: Add the onions and some salt sweat until sweet and translucent . Add the peas and defrost in the skillet with the onions . When the peas are fully warmed , turn off the heat of the skillet . Add the yogurt , tarragon and pistachios .
Question: Why are the onions added first ?
Answer:


The onions need to be cooked longer .