Why the rpm metter goes up when you turnon the headlight?

the alternator is sucking more power from your engine unless its going up very significantly then I have no idea