Why piano kyes are made up of ivory?

Originally, Ivory as a dentine type material & tough enough to withstand many years of use/abuse, was used for piano keys as well as handles on many tools & utensils. With the invention of plastic material & the need for animal conservation, ivory has become illegal to use.