Avascular necrosis (AVN) develops when a bone loses its blood supply.