What is the meaning of Rubbernecking?

The act of slowing down whilst driving a vehicle, in order to see the scene of an accident.

Generally, any act of observation in a manner considered unduly overt or otherwise unseemly.

present participle and gerund of rubberneck

Source: wiktionary.org