Belt is probably broken. Many dryers have fan either directly connected to the motor or on separate motor. Fan may be pulling in the hot air, but belt is broken, so motor is not turning the drum.
Check the timer, with it set to a run position 110volts ac should be on the light blue wire tied to term "B" of timer. Mine had a broken plastic part inside the timer that prevented the contacts from closing.
A four blade dryer plug cord should have a red, black, white, and green wire in the cord set. The red and black wires are the ones that deliver the 240 volts to the dryer. Black and white deliver control 120 volts to the dryer and also drive the motor to turn the dryer drum. On some dryers they use the red and white for the motor and black and white for the control. As for the green it is always the ground wire.
my clothes dryer wiil not stop when the time has expired
It's just because pockets can turn inside out from the action of the dryer. Some clothes dry best if they are put into the dryer inside out anyway.
it heats up
Not directly. The sun's energy heats the ground, which in turn heats the air above it.
By here I presume you mean earth, the sun heats the atmosphere directly, but also heats objects which in turn also give off heat to the atmosphere
The settings on a dryer differ by manufacturer. A coin operated dryer has a slide or dial to turn the dryer to a lower temperature. A digital dryer has buttons to push to change the temperature settings. Many dryers just have a dial to turn to select the temperature or timer settings.
The firebox heats the water and as steam flows the wheels turn.
turn it on
The dryer plug is probably wired wrong, check where the cord is wired to the dryer first. Unplug the dryer befor starting to remove any screws or panels
Normally a brake drum is turned or resurfaced using a brake drum lathe. This is usually done at a shop specializing in brake repair, or at a machine shop. Those who have a suitable metal lathe can also turn brake drums.