title: Laravel @extends and @include
body: <p>I'm working on this project using Laravel.</p>
  
  <p>According to this tutorial I'm watching, I had to add this bit of code at the top of the main view. </p>
  
  <pre><code> @extends('layouts.masters.main')
  </code></pre>
  
  <p>Since I'm new to Laravel this got me wondering why can i not simply use. </p>
  
  <pre><code>   @include('layouts.masters.main')
  </code></pre>
  
  <p>I tried it instead and it did the same thing basically. Only thing is i do know how include works but i don't really know what extends does.
  Is there a difference and so yeah what is it. Why did tutorial guy go for <code>@extends</code> and not  <code>@include.</code></p>