Alkanes come from crude oil. Crude oil is a natural resource, a thick black fluid found by drilling underground. Crude oil is a mixture of alkanes of different chain length - composed of different numbers of carbon atoms. It also has laboratory method of production.