White phosphorus is used in incendiary weapons and smoke grenades. It is also used to make organic compounds that have phosphorus in them. Phosphorus is used to dope semiconductors. Phosphorus is used to remove oxygen from copper. It is also used in making alloys. Red phosphorus is used in matches and flares.