The present invention relates to methods of forming coacervates, methods of forming hydrogels and coacervates using light sensitive groups as well as uses of said coacervates and hydrogels. The invention also provides coacervates and composition for forming coacervates and use of the coacervates and compositions in medical treatment such as in treating tissue injuries.Linvention concerne des procédés de formation de coacervats, des procédés de formation dhydrogels et de coacervats au moyen de groupes photosensibles, ainsi que des utilisations desdits coacervats et hydrogels. Linvention concerne également des coacervats et une composition servant à former des coacervats, ainsi que lutilisation de ces coacervats et compositions dans un traitement médical tel que le traitement des lésions tissulaires.