The process initiates early in embryonic development. Each cell in the embryo inactivates one of its X chromosomes, chosen at random. The inactivated X chromosome forms a condensed structure known as a Barr body. The gene XIST (X-inactive specific transcript) plays a key role in this process by coating the chromosome to be inactivated and silencing its gene expression.