You need to provide more information. You can record sound, but not continuously, and the mechanism is platform dependent.
SystemDialogInput["RecordSound"]
will open a dialog on your system. You record the audio, and assign it to a variable. You can then process it.
What you cannot do is continuously sample the microphone. If you can figure out how to do this, let all of us know.