Layer dependency refers to the hierarchical reliance of one layer upon another within a system, where changes or failures in a lower layer can significantly impact the functioning of upper layers. This concept is crucial in understanding the architecture of complex systems, such as software, networks, and organizational structures, where dependencies dictate the flow of information and control.