Structurally and functionally distinct regions of a protein that can fold independently and perform specific functions.