Use a bucket
Chat with our AI personalities
Destroy it, then pick it up.
Unfortunately you can't pick up cake when it has been placed.
look it up on minecraft wiki, it really depends of what light, whether it is fire, glowstone or lava.
Mine it using a pickaxe (wood or better), then pick up the drop.
You can find lava underground.