Searches for an element sequentially.