Question: why ldap is used in active directory?
Answer: It provides authorization and authentication for computers, users, and groups, to enforce security policies across Windows operating systems. LDAP, or Lightweight Directory Access Protocol, is an integral part of how Active Directory functions.