Understanding Image Quality

What is image resolution and how to set image resolution using Adobe Photoshop.