title: Laravel Blade: What is nesting sections doing here?
body: <p>I don't know what does putting a section inside another section do. In a Laravel project I'm reading, a Blade file's code is like this:<br />
  login.blade.php :</p>
  <pre><code>@extends('layout') @section('content')
  @section('title', 'Log in')
  Lots of content.
  @endsection
  </code></pre>
  <p>In above, what's the point of having title section inside content section? How will it be different if title section is placed outside:</p>
  <pre><code>@extends('layout')
  @section('title', 'Log in')
  @section('content')
  Lots of content.
  @endsection
  </code></pre>
  <p>I tested, and both are producing same output (HTML source code).</p>
  <p>layout.blade.php</p>
  <pre><code>&lt;head&gt;&lt;title&gt;@yield('title')&lt;/title&gt;&lt;/head&gt;
  &lt;body&gt;@yield('content')&lt;/body&gt;
  </code></pre>
  <p>Is there any case of layout.blade.php in which different outputs will be produced?</p>