What are heating degree days and cooling degree days?

Cooling degree days measure how hot it is over a period of time. The higher the number, the more cooling is required.