Understanding the various factors that increase the risk of contracting nosocomial infections is essential to prevent and control the spread of infectious diseases. Examples of these factors include compromised immune systems, prolonged surgical procedures, and exposure to contaminated equipment.