What are the advantages and disadvantages of having more gray levels?

What are the advantages and disadvantages of having more gray levels?

In general, more gray levels improve contrast resolution, but there is a lower limit on how small a change in gray level is detectable by the human eye, so a very large number of gray levels is not necessarily advantageous.