Discrete protein structural units that may fold independently of the rest of the protein and have their own functions.