It is mainly used for:
Dynamic drop-down menus
Displaying data and time
Displaying popup windows and dialog boxes
Slider, carousel, accordion, error messages, responsiveness all these widgets and more use show some element.
It plays nicely with other web technologies — such as HTML and CSS — and can even interact with plugins such as Flash.