PeLocal Fintech interview question

1. What is inheritance in object oriented programming?