Cow dung is used as fertilizer because it is rich in nutrients and organic matter, improving soil fertility and reducing the need for synthetic fertilizers.