A lot of doctors recommend the flu vaccine partly because it should also help to protect against pneumonia, which often starts as flu. There is also a separate pneumonia vaccine, but it is much less often given, as indeed pneumonia is much less common than flu. If you go to drgreene.org you can find a very detailed explanation of how flu differs from colds, first of all. And then you come to a link to an explanation of pneumonia too.