Cystic fibrosis (CF) is a disease that is passed down through families. It is caused by a defective gene that makes the body produce abnormally thick and sticky fluid, called mucus. This mucus builds up in the breathing passages of the lungs and in the pancreas.