XElement is part of System.Xml.Linq in .NET Framework. This class represents an XML element, the fundamental XML construct.
An XElement has an XName, optionally one or more attributes, and can optionally contain content.
An XElement can contain the following types of content:
- XElement
- XComment
- XProcessingInstruction
- XText
Reference: XElement Class on MSDN