do you mean record something from an application? Or do you want to speak to it and have it make a file of what you said?
There is a program called audio hijack which can record any sound from the computer. Or you can use something like voice candy and record what you say. Granted voice candy can manipulate your voice, it can also simply record what you say.