Doubt in backtracking

what is if(condition) { return true;
whether true is returned to main or where return takes place

sorry i didnt get your doubt, please elaborate