Does word "burn" have the same meaning in the following two sentences?

Burn garbage.

The car burns only Diesel oil.
the same meaning