Is the steam generator better electric or gas

Is the steam generator better electric or gas