You can read up on this topic here: https://docs.mendix.com/refguide/generalization-and-association/