WHATS THE DIFFERENCE BETWEEN A GAME ENGINE AND A FRAMEWORK (LibGDX)

Hi guys, after a whole year of studying java i tink i’m finally ready to start hardcore game development. d problem is a game engine and framework looks the same to me.
please whats the difference between the two?

PS: i know java2d