Choosing the correct onions and cooking them slowly will dramatically affect the flavor of your soup. Also pay attention that you are not burning your onions and getting an acrid taste as you sauté them. They should be sautéed over low to medium-low heat.