\documentclass[convert={outfile=\jobname.svg}]{standalone}
\usepackage[dvipsnames]{xcolor}
\usepackage{tikz}
\tikzset{dot/.style={draw,shape=circle,fill=black,scale=0.4}}
\usepackage[outline]{contour}
\contourlength{0.05em}
\newcommand{\outline}[1]{\contour*{white}{#1}}

\begin{document}
\begin{tikzpicture}[scale=2, thick]
    
    \foreach \i in {-2, -1, 0, 1, 2} {
        \draw [red, dotted] (\i+0.5, -0.08) to [out=180,in=180] (\i+0.5, -0.5);
        \draw [blue, dotted] (\i+0.5, 0.03) to [out=180,in=180] (\i+0.5, 0.5);
    }
    
    \draw (3.5, 0.5) to (-2.5, 0.5);
    \draw (3.5, -0.5) to (-2.5, -0.5);
    
    \foreach \i in {-2, -1, 0, 1, 2} {
    \draw (\i+0.25,0) to [out=-30,in=180+30] (\i+0.75,0);
    \draw (\i+0.3,-0.03) to [out=30,in=180-30] (\i+0.7,-0.03);
    }
    
    \foreach \i in {-2, -1, 0, 1, 2} {
        \draw [red] (\i+0.5, -0.08) to [out=0,in=0] node [right] {a\_\i} (\i+0.5, -0.5);
        \draw [blue] (\i+0.5, 0.03) to [out=0,in=0] node [right] {b\_\i} (\i+0.5, 0.5);
    }
    
    \node at (3.5, 0) {$\cdots$};
    \node at (-2.5, 0) {$\cdots$};
    
\end{tikzpicture}
\end{document}
