In order to self-consistently study the chemical and physical processes in star formation, we couple the chemistry with hydrodynamic (HD) and magnetohydrodynamic (MHD) models from GMC to protoplanetary disk scales, adopting techniques such as multi-fluid and tracer particles. We aim to provide constraints on the observed chemical differentiations of various species in different star-forming environments.