Brown spots, also known as age spots or sun spots, are caused by an overproduction of melanin due to factors like sun exposure, hormonal changes, or aging.