Pyelonephritis is a type of urinary tract infection that affects the kidneys, often caused by bacteria ascending from the bladder. It can lead to serious complications if untreated, including kidney damage or sepsis, requiring prompt diagnosis and treatment with antibiotics.