Earthquakes can have several impacts on ecosystems, such as disrupting habitats, altering landscapes, and triggering landslides or tsunamis. These events can lead to changes in species distribution, loss of biodiversity, and even the introduction of invasive species. Additionally, earthquakes can also affect water quality, soil composition, and nutrient cycling in ecosystems.