Mycolic acids are long-chain fatty acids that are a major component of the cell walls of Mycobacterium species, including the pathogens responsible for tuberculosis and leprosy. Their unique structure contributes to the bacteria's resistance to antibiotics and the host's immune response, making them a critical factor in the pathogenicity and treatment challenges of these diseases.