Flakes occur due to dry scalp, but dandruff is caused by fungal infections. While the flakes tend to be smaller and whiter, dandruff is larger and may be yellow-tinged or oily.