when I click on an object, how do I know which layer it is in?

This would really be helpful!