No, fish did not evolve into sharks and dolphins. Sharks are cartilaginous fish that share a distant ancestor with bony fish. Dolphins are mammals that evolved from land-dwelling ancestors. Their similar aquatic body shapes are the result of convergent evolution, not direct descent from one another.