They are defined as rocks that formed as a result of the weathering and erosion of older rocks (note that weathering and erosion are different [but related] geologic processes).
(They; are defined; as rocks) (rocks; formed; as a result of the weathering and erosion of older rocks)
They rocks
are defined formed
as rocks
as a result of the weathering and erosion of older rocks