Ethanol fuel can be used instead of gasoline in cars and other engines . Engines can use pure ethanol or ethanol mixed with gasoline . Flex-fuel engines in Brazil are able to work with all ethanol , all gasoline or any mixture of both .