Pregunta de entrevista de Dassault Systèmes

What is inheritance? What is the difference between margin and padding?