Here's how it breaks down:
* Lain is the name of the anime series.
* The sentence uses Lain as the subject of the sentence, followed by a verb (was) and a description of the series.
You can also use "Lain" in a sentence to refer to the main character of the anime, but you'll need to be more specific, such as:
* "Lain Iwakura was a quiet and introspective high school student who found herself drawn into a strange online world."
This sentence specifically identifies Lain as the name of the character, instead of just the name of the series.