Being a republican or democrat means what?
There is a loving wide ass spectrum in the political world that there are republicans that agree more with democrats or independent and vice versa.
Bernie isn't even technically a democrat, he just goes by democrat because independent would give him 0 votes. He is radically different from hillary, biden, etc.