Where does “宮” come from?

Words derived from “宮”