The electronics industry is the economic sector that produces electronic devices. It emerged in the 20th century and is today one of the largest global industries. Contemporary society uses a vast array of electronic devices built-in automated or semi-automated factories operated by the industry. Products are primarily assembled from metal-oxide-semiconductor (MOS) transistors and integrated circuits, the latter principally by photolithography and often on printed circuit boards.