An MSM photodetector is both a photodiode and a semiconductor device. It utilizes the properties of a semiconductor material to create a photodiode functionality. It leverages the interaction of light with the semiconductor to create an electrical current.