What does abort() do?

Btw, I was going to use abort() as a measure for halting the software in case totally unacceptable data were used as input.
I understand that's somehow drastic as an error handling method. I wonder how/if/when abort() maybe used such as that.

I'm not going to write some crazy complex error handling routine for this particular purpose anyway, enough being to simply stop everything.