In the video, a person is cooking onions in a pan. The person is using a wooden spoon to stir the onions. The onions are being sautéed in oil, and the person is adding garlic to the pan. The garlic is being stirred in with the onions. The person is continuing to stir the mixture, ensuring that the onions and garlic are evenly cooked. The video provides a close-up view of the cooking process, allowing viewers to see the texture and color of the onions and garlic as they cook. The sound of the sizzling can be heard in the background, adding to the sensory experience of the video. Overall, the video provides a detailed and engaging look at the process of cooking onions and garlic.