The processes by which elements are extracted from their mineral, aquatic, or atmospheric sources or recycled from their organic forms, converting them to the ionic form in which biotic uptake occurs and ultimately returning them to the atmosphere, water, or soil.