Two-Component Galaxies: Understanding the Multiple Stellar Components of Observed and Simulated Galaxies