The person is tying a knot, specifically a monkey's fist knot, using a strand of rope.