Blood Urea Nitrogen (BUN) measures the amount of nitrogen in the blood that comes from the waste product urea. The liver produces urea as a byproduct of protein metabolism, and the kidneys are responsible for excreting it. Elevated BUN levels can indicate impaired kidney function or other conditions such as dehydration, heart failure, or a high-protein diet.