# Algorithms

An **algorithm** is a set of instructions for performing a useful task, such as storing, retrieving, or processing data.

Algorithms utilize data structures , which are formats for physically storing information such that it can be efficiently operated on by an algorithm.

A concept that illustrates the relationship between data structures and algorithms is the data type . A data type defines a set of possible values (data structures) along with their allowed behavior (algorithms).