Dark spots can be caused by various factors such as sun exposure, acne scarring, hormonal changes, and aging. These factors trigger an overproduction of melanin, resulting in hyperpigmentation and the appearance of dark spots on the skin.