The video shows a person cooking onions and garlic in a pan. The person adds diced onions to the pan and sautés them. Then, they add minced garlic to the pan and mix it with the onions. The person uses a spatula to stir the mixture. The video ends with the person adding salt to the pan.