Report question

Question: Why people define class, trait, object inside another object in Scala?