How message queue works to ensure delivery just at the right time

How does message queue work to ensure delivery of messages just at the right time without delays? How is this technology relevant to the development of information and communication in the current world.
