royal icing is the edible "glue" or mortar that holds a gingerbread house together and can be used to make fancy sugar decorations. it's the best option for projects like gingerbread houses since, unlike buttercream frosting, royal icing will harden once dry.