The immunity of recovered individuals can vary depending on the disease. For some diseases, recovery results in long-lasting immunity, while for others, the immunity may be temporary. For example, recovery from measles usually confers lifelong immunity, whereas immunity to influenza may last only a few months to years. Ongoing research aims to understand the duration and robustness of immunity, especially for emerging infectious diseases.