The cell membrane is primarily composed of a phospholipid bilayer. This bilayer consists of two layers of phospholipids, with hydrophilic (water-attracting) heads facing outward and hydrophobic (water-repelling) tails facing inward. This arrangement creates a semi-permeable barrier that regulates the entry and exit of substances.