title: Why we do extends React.Component when creating the class component in React?
body: <p>I am new to <strong><em>React</em></strong> and i am very confused and continuously thinking about it day and night and almost all my hairs are fallen and still falling down, that why we always <strong><em>extends React.Component</em></strong> class when creating the component with the class.</p>
  
  <p>But in the <strong><em>functional component</em></strong> and in other methods we do not do any such thing to push the created component into the <strong><em>React.Component</em></strong> class. So the main question is that What is <strong><em>React.Component</em></strong> class why we always add new components to it as a child using the <strong><em>extends</em></strong> and why we cannot create components in react native without using the <strong><em>extends</em></strong> in class component or without extending the <strong><em>React.Component</em></strong> class. So, what is <strong><em>React.Component</em></strong> class whats going on inside <strong><em>React</em></strong> under the hood, whats the scenario ?</p>
  
  <p>I will be very very thankful to the person who will answer my question with examples and easy approach.</p>