Biodiesel is produced from vegetable oils and animal fats. The most popular oils used for biodiesel include soybean oil and restaurant grease.
Soybeans are one of the least expensive livestock feeds on the market, making soy oil one of the least expensive vegetable oils available.
There are different forms of biodiesel from simple filtered vegetable oil to biodiesel that is produced from oil that is chemically reacted with alcohol or methanol.
In either case the oil or fats must be thoroughly filtered to remove any water or contaminants.
Relevant link :