Stochastic Mean-Field Dynamics and Applications to Life Sciences