Car makes a humming noise that gets louder at certain speeds

Guys, Thanks for the replies.
I meant to say that applying the brakes did not have any effect on the humming noise.
The dealership told me that it was due to the brakes but I was not convinced since I could hear it during motion when the brakes are not applied.
I will try a different dealership .
Again, I appreciate your help.