The lipid with an attached phosphate group is called phospholipids. It is an essential component of cell membranes. E.g.: lecithin