In the digestive system, cystic fibrosis (CF) mainly affects the pancreas. A child with CF has trouble absorbing fats, as well as some proteins and vitamins.