 Semiconductor devices, such as transistors, are made possible largely by putting different semiconductor dopants into different places, in specific patterns.Twinning is a phenomenon somewhere between a crystallographic defect and a grain boundary.Like a grain boundary, a twin boundary has different crystal orientations on its two sides.