What is audio latency? How to reduce latency for recording

Latency is a time delay (measured in milliseconds) between an input signal entering a recording device and the output signal leaving speakers or headphones.