As you previously guessed, yes, the Maginot Line was a series of defensive position along the frontiers of France, some more armored than others and some more protected by terrain (the Alps is a fantastic wall, and Italy would never cross them in 1940).
The following description applies specifically for the German border. The structure of the line was very simple yet proved to be both great and really bad. The Line was divided in 4 different ones.
The first one was the weakest one, being a simple series of outposts with sentries, barbed wires, and mines. It was designed in a way that the sentries could quickly alert the second line that danger was coming. The barbed wires spread a distance of 10 to 15 meters. This was plenty for the machine guns from the second line to shoot down anything that could move in this zone as the French machine guns could shoot up to 1,200 meters.
The second line was the strongest one. Full of bunkers, more barbed wires, and mines, it was located around two kilometers behind the front line. With tank traps and machine gun nests located under heavy artillery cover, it was designed not only to hold, but also to inflict heavy casualties to the enemies.
The third line was designed to provide cover to the fighting troops in the field. With machine gun nests and bunkers, this line was designed to hold the enemy if it got through the first two lines through close quarter combat.
The fourth and last line was the logistic line: barracks, ammunition, and artillery. It was designed to provide support only. The enemy was not supposed to reach it and never really did.
The main goal of the Maginot Line was to inflict major casualties and to experience as few casualties as possible. The French demography was in no match for the German demography, and French blood had to be spared as much as possible.
The Maginot Line had a political goal too, as it was designed in a way to make the Germans attack through Belgium. Since the United Kingdom had guaranteed the independence of Belgium, if Germany dared to attack Belgium again, then the British would declare war to Germany again. But the French Government was then sure that Germany would never dare touch Belgium again.