Not able to understand the bool function

my doubt is, why have we used i<=prime[i]*prime[i] int the isPrime function?