Any lipid that contains a phosphate group. These include phosphoglycerides (major components of cell membranes) and sphingomyelins (present in large amounts in the brain and nerve tissue).