White phosphorus is very dangerous. It is very toxic and ignites easily, burning with a very hot flame. Red phosphorus is much safer. Some phosphorus compounds are toxic, but the common phosphates are not toxic.