Natural disasters can have both immediate and long-term effects on ecosystems. They can cause destruction of habitats, loss of biodiversity, and changes in the physical environment. However, natural disasters also play a role in shaping ecosystems by creating opportunities for new species to colonize and promoting biological diversity through natural selection and adaptation. Overall, natural disasters can lead to ecosystem resilience and contribute to the dynamic nature of ecosystems.