The CFTR gene encodes a protein that functions as a channel for chloride ions across epithelial cell membranes. This gene is crucial in maintaining the balance of salt and water on epithelial surfaces such as the lungs, pancreas, and other organs. Mutations in the CFTR gene lead to cystic fibrosis (CF), a serious genetic disorder.