Discuss the principle of estimation of halogens, sulphur and phosphorus present in an organic compound.