I’m not a particular fan of disco but in the case of the Bee Gees their disco era material is much better than their previous pop music.
The BeeGees had a big role in the rise of disco. While not the first disco act, the BeeGees were the first previously-established stars to make the move to disco.