kenmore gas oven

Hi, I need help. I have replaced the oven igniter but the oven won’t heat. It clicks a little then shuts down. My boiler isn’t working either. I do smell gas when I turn it on…what else can it be?