Tidal disruption events and quasi periodic eruptions