In the video, a person is cooking onions in a pan. The onions are cut into small pieces and are being sautéed in oil. The person is using a spatula to stir the onions around the pan. The pan appears to be on a stove top, and the onions are taking on a translucent appearance as they cook. The person is also seen adding salt to the onions, which is a common seasoning used in cooking. The video provides a close-up view of the cooking process, allowing the viewer to see the details of the onions as they cook.