Correct Answer : To provide shared functionality between endpoints
Explanation : A FastAPI dependency is used to provide shared functionality between endpoints, such as authentication, authorization, or database connections.