Is it safe to have pets around babies?

Is it safe to have pets around babies?