Here's a breakdown:
* X chromosome inactivation: Females have two X chromosomes, while males have one X and one Y. To ensure proper dosage of X-linked genes, one of the X chromosomes in each female cell is randomly inactivated during early embryonic development.
* Barr body formation: The inactivated X chromosome condenses into a compact structure, becoming visible as a dense, darkly staining spot within the nucleus. This is the Barr body.
* Random inactivation: The choice of which X chromosome to inactivate is random in each cell. This means that some cells will have the maternal X chromosome inactivated, while others will have the paternal X chromosome inactivated. This leads to a mosaic pattern of X chromosome expression in females.
The Barr body is a unique feature of female cells and can be used to determine the sex of an individual. It plays an important role in regulating gene expression and ensuring that females don't receive twice the dosage of genes from the X chromosome compared to males.