Another way to say "a house has a ceiling under its roof." is "Just beneath the roof is a ceiling in a house."