Message queues are components for inter-process communication (IPC) or for inter-thread communication within a process.