Dandruff is a very small piece of dead skin and it can have several causes, including dry skin, seborrhoeic dermatitis, not cleaning/scrubbing often enough, shampooing too often, scalp psoriasis, eczema, sensitivity to hair care products, or a yeast-like fungus.
Dry skin is the most common cause of flaking dandruff.