The present invention relates to a biopolymer-based hydrogel as a functional biomaterial produced by crosslinking in the presence of a photopolymerization initiator. The hydrogel of the present invention is elastic so as to be adapted to various shapes in both in vivo and in vitro applications. It is biocompatible, achieving maximum effects on wound healing as wound dressing and tissue adhesion preventing material. The present invention also relates to a method for producing the biocompatible hydrogel.