Northrop Grumman interview question

Explain Inheritance and an example in when you would use it.