Ruby Ruby on Rails 5 Basics Handling Requests The Controller

gene c
gene c
13,629 Points

render template: "posts/index.html.erb", layout: "application"

I really don't understand what this is doing? what is render template and what does layout signify