A queen consort is the wife of a king. Usually the husband of a queen regnant is not known as king. In the United Kingdom, the term prince consort has been used.
A queen dowager is a woman who was queen consort but whose husband has died or abdicated, someone else having become monarch.
A queen mother is a queen dowager whose child, having succeeded his or her father, is now the monarch.