The video shows a person cooking onions in a pan. The person adds oil to the pan, then dices an onion and adds it to the pan. They stir the onions with a spatula and add garlic to the pan. The person continues to stir the onions and garlic in the pan.