Navigating Authentication in Angular 17: Deconstructing the Deprecated ‘CanActivate’

What are Auth Guards and Why they are used?