Can you explain the box model in CSS and how it affects element layout?

Technical