How do fishes have babies?

Yes they do, they are called Fry not babies, and fish lay eggs from a tube in their body