Visa Inc. Interview Question

Why do we need hibernate or JPA?