Kojic acid is used in cosmetics as a skin-lightening agent to help reduce the appearance of dark spots, age spots, and hyperpigmentation. It works by inhibiting the production of melanin in the skin, resulting in a more even skin tone and complexion.