Hell was a super hidden area that was optional. To access it you had to have mario kill himself with bombs and/or flames in a house where somebody said something about a sacrifice or suicide or something (I can't remember what he said). After you continued you would be in hell, but this only worked in some versions. It was basically an alternate version of the overworld with some extra items laying around.