Heart as a mechanism made of cogs and gears