The Chinese believed that qi was the substance of all things in the cosmos and Earth, including inanimate matter, humans, ideas, emotions, celestial bodies and everything that exists or has existed; and that it was qi condensing that created all the matter within the cosmos. This is relatively consistent with the modern understanding of the congregation of matter through gravitational fields.