The use of the handbrake locks the rear wheels, thus breaking the friction between the tyres and the road surface. At this point, a steering input will spin the car in the direction steered. With practice, the car can be placed accurately. The technique is used in some forms of motorsport, for example rallying.
A related technique is left-foot braking