dryer not heating up

hey guys i have a problem wiuth my kenmore dryer. the problem is that it doesnt heat up so what i did is open it up and checked the igniter and the igniter is lighting up but after 5 seconds of lighting up it makes a click sound then it turns off. I dont know whats the problem the heating elements or what?? Help would be greatly appreicated Thanks!!