Weight cutting in combat sports: What is it and how can you minimise the risks?

The majority of combat sport athletes will go through a period of short-term weight loss prior to a fight. Why do they endure weight cutting, and can it be done safely?