How can Global Weather Programmes predict the future?

Just how do Global Weather Programmes predict the long run? Weather forecasts are a big part of our way of life and, whether we have been taking a look at a global weather map, a weather map of Europe, or we merely need to see a local weather map for the next day or two, what you really are seeing