Algology or pain science is a medical discipline that examines the causes of pain and aims to treat it by identifying its source. Algology mostly applies to chronic pain.