What went wrong at the Soviet atomic power station at Chernobyl?

In this reactor, graphite was used as moderator. The fuel elements were cooled by water and steam was produced from within the reactor. Both water and the steam came in contact with hot graphite. Due to this hydrogen and carbon-monoxide CO were relased. When they come in contact with air, there is a big explosion.