If you have pendulum clocks on the wall and start them all at different times, after a while the pendulums will all swing in synchronicity. The same thing happens with heart cells in a Petri dish: They start beating in rhythm even when they're not touching one another.