i want to install a ceiling fanlight without connecting it to the wall switch
Generally, installers assume that if you have a fan and light combo, you will want to control them separately.   That's what is happening when you see a cable coming from the light switch with red, black, white and bare.  Ground and neutral are shared, and the red and black give you 2 hots so you can control fan and light separately. 

You can buy double switches which put 2 complete switches in the space normally taken by one.