Band gap engineering is the process of controlling or altering the band gap of a material by controlling the composition of certain semiconductor alloys, such as GaAlAs, InGaAs, and InAlAs. It is also possible to construct layered materials with alternating compositions by techniques like molecular beam epitaxy. These methods are used in the design of heterojunction bipolar transistors (HBTs), laser diodes and solar cells.