How does a Spectrophotometer Work?

A spectrophotometer is fairly complex. Basically it works by light passing through a solution. The higher the molecular concentration the more light is absorbed.