A simple formula for recording with a microphone is 'Signal to Noise Ratio'. You usually want to record the cleanest signal with the least ambient noise. The closer you place the microphone to the signal (source) the less ambient noise the mic will capture.