Dark spots, also known as hyperpigmentation, can occur for various reasons, including sun exposure, hormonal changes, aging, and acne scars.