In many ways, the biodiesel and petrodiesel molecules are similar. In fact, the only real difference is on the right side of the molecule where the biodiesel has two oxygen atoms compared to the petrodiesel molecule. These oxygen atoms are what make all the difference in biofuels like biodiesel, when they are burned.