Cystic fibrosis first affects the small airways in the lungs. Over time, it can affect other parts of the body.