Layer of cells that form the lining (endometrium) of the uterus.