Animal testing has traditionally been used to assess the safety of cosmetic products. However, due to ethical concerns and the development of alternative methods, many countries have banned animal testing for cosmetics. Alternative methods such as in vitro testing and computational models are now being used to predict toxicity.