What is ! operator for? When should I use this? What are the diff. between ! and .?

Thanx.

SK