Where does Gas Come from?

Gas, or gasoline the result of the refining of crude oil. A gas, does not come from anything, it is more of a state of being for a compound. For example take the compound water. In its gaseous state it is called steam.