Deep in the oceans, where little or no light makes it, there is virtually no life. On land, along the equator where sunlight is abundant, life abounds. Secondary to light, is the energy in chemical bonds. Plants and animals use this energy for their existence. In short, without the energy from the sun there would be no plants, and without the energy in plants there would be no animal life .
Water is composed of two hydrogen and one oxygen molecules.
Both elements are found in abundance in the universe. Under extreme heat and pressure, these elements can be combined to form water. These conditions were present when the rocks that formed our planet collided. Hence, the water on earth was formed while the planet was forming. Water on the earth is found in all three states.