Although this might not be the most rigorous derivation of the Gaussian PDF (Probability Density Function), this note might help you understand it more intuitively.