The person is cooking a dish with onions, garlic, and other ingredients in a pan.