You don't specify which film you are actually talking about, and there have been plenty! However, I am sure that the basic premise is pretty much the same in all the films. I have included a link below to the study guide section of the novel as well to help you with this theme a bit more.
Certainly the central theme of the story of Victor Frankenstein is one of the dangers of pursuing scientific knowledge to the exclusion of everything else. If you look at the original book, Frankenstein does this at the expense of his family and devotes himself to this science, only to find that his success is actually a hugely bittersweet moment, as he is repelled by what he creates. The story, with its framing narrative of Walton trying to do something similar by finding a passage through the North Pole and then deciding to turn back after hearing Frankenstein's story, clearly indicates that there are some boundaries of scientific knowledge that we are not meant to penetrate, and if we do, we will unleash terrifying consequences both upon us and upon the world.