Why invade Denmark?

If we are talking WWII then the motive was to use airfields in Northen Denmark as a stepping stone for the invasion of Norway (which in turn was invaded to control the Northern Atlantic)