a diagram showing the formation of different substances