What is Cross side scripting? What can be done with it & how do we prevent people doing against us?

If any one can share their knowledge on this, it will be useful.

Thank you