The dragAndDrop() method initially conducts a click-and-hold operation at the source element’s location. Move Mouse Action: The source element is then relocated to the target element’s location. Button Release: Finally, the mouse is released.