A series of hydrophobically thiadiazole, pyridazine, and pyrimidine were synthesized with surface and biological activities from cheap, available, and safe raw materials such as fatty acids. Thus, diazotizations of thiadiazole derivative 2 and malononitrile resulted a hydrazone derivative 3, which was used to construct various biologically active compounds with low toxicity, good solubility and biodegradation, surface properties with biological activity. The results revealed that these substances have the ability to reduce the surface tension, reduce the wetting time, varying degrees of foam and emulsifying stability, which makes use in the different industries. As well as their biodegradability, which confirms that these compounds are environmentally friendly to humans and the environment. Furthermore, the effect of these compounds against certain microorganisms has been studied and shown to be highly effective against the activity of these organisms.