\documentclass[../main.tex]{subfiles}

\begin{document}
\chapter{Subfile chapter}
Lorem ipsum...

\subfile{sections/first.tex}
\subfile{sections/second.tex}

\end{document}
