Gap analysis in architecture identifies the difference between current state (baseline) and target state. Its primary purpose is finding functions or capabilities that are missing entirely or duplicated/overlapping in the current architecture. This informs decisions about what needs to be built, bought, or consolidated. Options A, C, D, and E describe other architecture activities, not the core purpose of gap analysis.