Spectrophotometry (a.k.a. UV-visible spectrophotometry) is a type of spectroscopy that involves comparing, photometrically, the brightness of two spectra, wave length by wave length. It is based on the physical processes that occur when light is absorbed by molecules.
Spectrophotometry can be used to find the pKa of a substance.