Hello, this is a common expression which means being able to enjoy the benefits of two different opportunities/situations/things at the same time. For example, if Tom is going to university, but has decided to live at home with his parents while doing so, we could say, "Tom's getting an education and free room and board; it's the best of both worlds." because he is enjoying the best of university and home. Hope that helps!