Why do flamingos only live in warm places?

Flamingos can live in a variety of inhabitants. Most live in subtropical areas that are warm, while other can live in high snowy mountains.