Glycoproteins are molecules consisting of a protein core to which carbohydrates are attached, while glycolipids are molecules consisting of a lipid core to which carbohydrates are attached. Both glycoproteins and glycolipids are important components of the cell membrane.