The HTML widget allows you to write HTML and display that on the sidebar:
You can also use the html widget to display shortcodes and embeds. In this example you copy the code to embed a goolge map. On save it is converted into a shortcode that display the map on the sidebar on this page.