The heat is generated by the heating element. The heating element should be replaced if the dryer is not heating. If the heating element won't heat even though it's getting the 240-volt power, you should replace it even if it doesn't look broken.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.