What does a bonk feel like?

I bonked at about mile 18 of a marathon. Legs felt like lead, you feel like you have no energy and have been transferred to a planet with twice the gravity of Earth.
I had a bad nutrition plan or lack of one.