Application of Green's functions in science and engineering