While driving I smelled a burning smell and within minutes noticed Smoke coming from under the hood. Pulled over and popped the hood and there was a fire behind the battery into the firewall area. Was out out with fire extinguisher by tow truck driver.