**Complexity** of an algorithm is a rough approximation of the number of steps necessary to execute an **algorithm**, since time in fundamentals unit like seconds or ms might give us different result on different machines hence we use * number of operations* as our primary measure to get time complexity of an algorithm.