A reflex is an automatic, involuntary response to a specific stimulus that is mediated by the nervous system. It is a rapid, predictable, and stereotyped reaction that occurs without conscious thought or effort, serving to protect the body or maintain homeostasis.