The beta human chorionic gonadotropin (hCG) test measures the hormone levels in the blood and is primarily used to confirm pregnancy, detect abnormal pregnancies, and screen for genetic diseases. It is performed on a blood sample, with specific thresholds indicating the presence or absence of pregnancy and potential tumors. Elevated or low hCG levels can indicate various conditions including multiple pregnancies, miscarriages, or tumors.