Cholesterol helps to maintain the fluidity of the membrane by preventing the phospholipid tails from packing too closely together.