Prospection interview question

Explain why a class needs an equals and a hashcode implementations