why are all the lights in the house dim then when the range is turned on they get brighter?
You have a power outage. You have lost one of your "hots".

Immediately call the power company and report an outage.

Normally you think of an outage as losing a "Hot" wire, so half the circuits in your panel stop working.  Far worse is when you lose "Neutral", which is what makes sure each half of your panel is 120V (and not less or more).  

Fortunately you have an out "Hot". 

When you turn your oven on, it is powered between the two hot wires and it has very low resistance.  It has the effect of connecting the two hot wires together, putting energy back on your defective hot wire.  That's enough to light your lights.  It won't be enough to do much more.  

Half your panel is dead. It just happens most of your lights are on one leg.