Fundamentals of coal gasification