The chemical reactions and pathways resulting in the formation of lipids, as carried out by individual cells.