Heat exchanger forms all or portion of tank