Structural and dynamical properties of the sol-gel transition