Boost makes your thrusters have more thrust. So if you're about to crash into a space rock you could boost and brake and your ship will stop faster. Turning also gets a boost when you use boost.
In lore, boost adds something into your fuel so you have bigger thrust all around. Afterburner is...