Dissociative identity disorder (DID) is a disorder where a person will exhibit two or more distinct personalities that alternate with each other.