A hot shoe adaptor will sit atop a DSLR camera and provide the photographer with a way of fixing a flash unit to the camera.
The U-shaped adaptor will also allow you to use several other camera accessories, thus lending more versatility to the camera.
Many photographers will hook a speedlight up to their camera using the hot shoe adaptor, which allows for more control over the flash.