Installing a dimmer switch to multiple lights
A dimmer switch can replace a regular switch as long as the lights/light bulbs are dimmable.

A three way switch is a way to have two switches control one light.