How does resonance occur in mechanical systems, and what are the factors influencing it? Discuss the consequences of resonance in machinery and structures, emphasizing the importance of damping mechanisms in mitigating resonance effects. Provide examples of real-world applications where resonance plays a critical role, and describe how engineers address resonance challenges during the design and operation phases. Additionally, elucidate the methods employed to analyze and predict resonance in complex mechanical systems, highlighting the interdisciplinary nature of addressing resonance phenomena across various engineering disciplines.