As Gordon (Playmofire) says..
A basic form of automation:
You can have a 'branch-line' (short, normally, end-to-end section of your layout, and a train can run from one end to the other, stopping for a short-time at each end, then running back again. All automatically.
Can add a little more interest, to proceedings.