Not able to understand please explain from the scratch

i am not able to understand what is upper bound or lower bound , and where is the theory of this thing given ?

Hey @rishabh.chhabra10
Find position of the last and first occurrence of a given number in a sorted array. If number does not exist then print lower and upper bound as -1.