Electric generators powered by large diesel engines (the prime movers) generate electricity that move the heavy rig equipment such as the rotary table (or top drive), mud pumps and drawworks. Electric drill rigs are more expensive than mechanical rigs, but offer some nice advantages in return.
[pdf] The drawworks reels in and reels out the drilling line. The drilling line is connected to the traveling block and hook which connect to the drill string. The drill string runs over the crown block and setup like a block and tackle pulley system.
[pdf] In a drilling rig, the drill line is a multi-thread, twisted wire rope that is threaded or reeved through in typically 6 to 12 parts between the traveling block and crown block to facilitate the lowering and lifting of the drill string into and out of the wellbore.
[pdf]