The embodiments herein provide a dental and medical biomaterial and its use for sealing and/or filling the tooth and bone cavities. In the embodiments herein, the calcium salt, calcium oxide, calcium silicate, and calcium phosphate compounds are mixed with a water-base solution, and a bioactive phosphate and calcium enriched mixture is prepared. The mixture comprises high concentration of water-soluble calcium and phosphate, and consequently forms hydroxyapatite during and after setting. The dental/medical biomaterial is biocompatible, antibacterial and capable of forming an effective seal against reentrance of microorganisms into the filled cavity. The biomaterial is compatible to handle and set in an aqueous environment and to stimulate soft/hard tissue healing/generation/regeneration.