What are the different types of investment benchmarks?

How do benchmarks help investors measure and compare portfolio performance?