Basurero is correct. I agree with this. And I like Charlestonian's explanation also.

"a" is often used for something not definite, or simply conceptual. "The" refers to something definite, or...