No, sharks are fish. They are cartilaginous fish. Terrestrial vertebrates descend from (and therefore are, in one technical sense) lobe-finned fish, which are a part of the bony (=not cartilaginous) fish, but that doesn't make sharks not fish, it just makes sharks more distant from mammals (etc.) thanks bony fish.